From 5f449365806ad16844f48394657100394f247352 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 6 Apr 2011 11:20:05 -0700 Subject: [PATCH] Add missing includes for yahoo and event, required by the new Group Manager JS code. Fixes bug #12095. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Form/Group.pm | 2 ++ 2 files changed, 3 insertions(+) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 9acb3cd48..46599c179 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -2,6 +2,7 @@ - fixed #12094: Cannot enter in Macros in URLs inside TinyMCE. - rfe #12093: Remotely stored photos for Story assets - fixed #12088: Organization left out of transaction + - fixed #12095: Shop admin screen has JS errors? 7.10.13 - added #12079: Carousel Auto Play diff --git a/lib/WebGUI/Form/Group.pm b/lib/WebGUI/Form/Group.pm index 04c35f21f..d9758da5b 100644 --- a/lib/WebGUI/Form/Group.pm +++ b/lib/WebGUI/Form/Group.pm @@ -155,6 +155,8 @@ sub headTags { my $url = $self->session->url; $style->setLink($url->extras('yui/build/container/assets/skins/sam/container.css'), { rel => 'stylesheet', type => 'text/css' }); $style->setLink($url->extras('yui/build/button/assets/skins/sam/button.css'), { rel => 'stylesheet', type => 'text/css' }); + $style->setScript($url->extras('yui/build/yahoo/yahoo-min.js'), { type=>'text/javascript' }); + $style->setScript($url->extras('yui/build/event/event-min.js'), { type=>'text/javascript' }); $style->setScript($url->extras('yui/build/connection/connection-min.js'), { type=>'text/javascript' }); $style->setScript($url->extras('yui/build/element/element-min.js'), { type=>'text/javascript' }); $style->setScript($url->extras('yui/build/button/button-min.js'), { type=>'text/javascript' });