summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguy.pyrzak%gmail.com <>2008-09-19 01:56:26 +0200
committerguy.pyrzak%gmail.com <>2008-09-19 01:56:26 +0200
commit09a4e528cf0de39813a54d1c2f3c865bda45d615 (patch)
treeab94db42f276fb7a25e56df0d652de7b1691da5f
parentc64160f55ae42aeb804b4613f980a57ecc077bdc (diff)
downloadbugzilla-09a4e528cf0de39813a54d1c2f3c865bda45d615.tar.gz
bugzilla-09a4e528cf0de39813a54d1c2f3c865bda45d615.tar.xz
Bug 455808: "YAHOO is not defined" JS error thrown when editing attachments
Patch by Guy Pyrzak <guy.pyrzak@gmail.com> r=mkanat, a=mkanat
-rw-r--r--template/en/default/attachment/create.html.tmpl2
-rw-r--r--template/en/default/attachment/edit.html.tmpl1
2 files changed, 2 insertions, 1 deletions
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl
index 10648159b..3c099bee7 100644
--- a/template/en/default/attachment/create.html.tmpl
+++ b/template/en/default/attachment/create.html.tmpl
@@ -35,7 +35,7 @@
subheader = subheader
onload="setContentTypeDisabledState(document.entryform);"
style_urls = [ 'skins/standard/create_attachment.css' ]
- javascript_urls = [ "js/attachment.js" ]
+ javascript_urls = [ "js/yui/yahoo-dom-event.js", "js/attachment.js" ]
doc_section = "attachments.html"
%]
diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl
index 8d0422065..2550d4f46 100644
--- a/template/en/default/attachment/edit.html.tmpl
+++ b/template/en/default/attachment/edit.html.tmpl
@@ -35,6 +35,7 @@
title = title
header = header
subheader = subheader
+ javascript_urls = [ "js/yui/yahoo-dom-event.js" ]
doc_section = "attachments.html"
%]