From 33a4bd46fd17ab28567cdeb2eb3733901f2a033e Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 7 May 2015 12:49:01 +0800 Subject: Bug 1159589: migrate autocomplete from yui to jquery r=dylan,a=glob --- template/en/default/bug/create/create.html.tmpl | 2 +- template/en/default/bug/edit.html.tmpl | 4 ++-- template/en/default/bug/field.html.tmpl | 31 +++++++++++-------------- template/en/default/bug/show-header.html.tmpl | 4 ++-- 4 files changed, 19 insertions(+), 22 deletions(-) (limited to 'template/en/default/bug') diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index c9a7c7db9..23fb276c9 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -12,7 +12,7 @@ [% PROCESS global/header.html.tmpl title = title generate_api_token = 1 - yui = [ 'autocomplete', 'calendar', 'datatable', 'button' ] + yui = [ 'calendar', 'datatable', 'button' ] style_urls = ['skins/standard/bug.css'] javascript_urls = [ "js/attachment.js", "js/util.js", "js/field.js", "js/TUI.js", "js/bug.js" ] diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 5402624f6..460b5b697 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -12,11 +12,11 @@ [% IF user.can_tag_comments %]
x -
+ -
+  
diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl index f1ddf633f..bfd385f9d 100644 --- a/template/en/default/bug/field.html.tmpl +++ b/template/en/default/bug/field.html.tmpl @@ -196,23 +196,20 @@ [% END %] [% END %] - [% CASE constants.FIELD_TYPE_KEYWORDS %] -
- -
-
- + [% CASE constants.FIELD_TYPE_KEYWORDS %] + + [% END %] [% ELSE %] [% SWITCH field.type %] diff --git a/template/en/default/bug/show-header.html.tmpl b/template/en/default/bug/show-header.html.tmpl index f18afed96..473df17da 100644 --- a/template/en/default/bug/show-header.html.tmpl +++ b/template/en/default/bug/show-header.html.tmpl @@ -24,8 +24,8 @@ [% END %] [% title = title _ filtered_desc %] [% generate_api_token = 1 %] -[% yui = ['autocomplete', 'calendar'] %] -[% yui.push('container') IF user.can_tag_comments %] +[% yui = [ 'calendar' ] %] +[% yui.push('json', 'connection', 'container') IF user.can_tag_comments %] [% javascript_urls = [ "js/util.js", "js/field.js", "js/comments.js" ] %] [% javascript_urls.push("js/bug.js") IF user.id %] [% javascript_urls.push('js/comment-tagging.js') -- cgit v1.2.3-24-g4f1b