From 09a4e528cf0de39813a54d1c2f3c865bda45d615 Mon Sep 17 00:00:00 2001
From: "guy.pyrzak%gmail.com" <>
Date: Thu, 18 Sep 2008 23:56:26 +0000
Subject: [PATCH] Bug 455808: "YAHOO is not defined" JS error thrown when
 editing attachments Patch by Guy Pyrzak <guy.pyrzak@gmail.com> r=mkanat,
 a=mkanat

---
 template/en/default/attachment/create.html.tmpl | 2 +-
 template/en/default/attachment/edit.html.tmpl   | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

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"
 %]
 
-- 
2.24.1