From: Michael J. Rubinsky Date: Thu, 30 Jul 2009 14:52:52 +0000 (-0400) Subject: Third time's a charm? X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=83861e3157b21b1de29df6a167393e731a7e8ddf;p=horde.git Third time's a charm? Move this before we *determine* if prototype is needed...not just before we include it. --- 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']);