summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-06-08 21:58:34 +0200
committerDavid Lawrence <dkl@mozilla.com>2015-06-08 21:58:34 +0200
commitf9993e2a669e8dfef0c62f175834dbc9699ee81b (patch)
treec8fd3e3f076f0adbb49b5a4ce78862bbb61852f0 /template/en/default/attachment
parentf5aaf93ebd611ca932d0c862fd01683baf914c9f (diff)
downloadbugzilla-f9993e2a669e8dfef0c62f175834dbc9699ee81b.tar.gz
bugzilla-f9993e2a669e8dfef0c62f175834dbc9699ee81b.tar.xz
Bug 1172649: Create New Attachment comment previews are not working due to Error: TypeError: YAHOO.util.Connect is undefined
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r--template/en/default/attachment/create.html.tmpl1
-rw-r--r--template/en/default/attachment/edit.html.tmpl1
2 files changed, 2 insertions, 0 deletions
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl
index ff359338a..d2dfce5cc 100644
--- a/template/en/default/attachment/create.html.tmpl
+++ b/template/en/default/attachment/create.html.tmpl
@@ -35,6 +35,7 @@
subheader = subheader
generate_api_token = 1
style_urls = [ 'skins/standard/attachment.css' ]
+ yui = [ 'connection', 'json' ]
javascript_urls = [ "js/attachment.js", 'js/field.js', "js/util.js", "js/TUI.js" ]
doc_section = "attachments.html"
%]
diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl
index 6bd75f448..8dc29c1e6 100644
--- a/template/en/default/attachment/edit.html.tmpl
+++ b/template/en/default/attachment/edit.html.tmpl
@@ -39,6 +39,7 @@
subheader = subheader
generate_api_token = 1
doc_section = "attachments.html"
+ yui = [ 'connection', 'json' ]
javascript_urls = ['js/attachment.js', 'js/field.js']
style_urls = ['skins/standard/attachment.css']
bodyclasses = "no_javascript"