From 83861e3157b21b1de29df6a167393e731a7e8ddf Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Thu, 30 Jul 2009 10:52:52 -0400 Subject: [PATCH] Third time's a charm? Move this before we *determine* if prototype is needed...not just before we include it. --- framework/Core/lib/Horde/Script/Files.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/framework/Core/lib/Horde/Script/Files.php b/framework/Core/lib/Horde/Script/Files.php index 704304a16..a1cc7afa4 100644 --- a/framework/Core/lib/Horde/Script/Files.php +++ b/framework/Core/lib/Horde/Script/Files.php @@ -182,6 +182,8 @@ class Horde_Script_Files } } + /* Add general UI js library. */ + $this->_add('tooltips.js', 'horde', true); if (!$prototype) { $keys = array_keys($this->_files['horde']); foreach ($keys as $key) { @@ -194,9 +196,6 @@ class Horde_Script_Files } } - /* Add general UI js library. */ - $this->_add('tooltips.js', 'horde', true); - // prototype.js must be included before any script that uses it if ($prototype) { $keys = array_keys($this->_files['horde']); -- 2.11.0