From: Michael J. Rubinsky Date: Thu, 30 Jul 2009 14:39:59 +0000 (-0400) Subject: Need to move loading tooltips.js to before the stanza that X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=72de6053c15f5222b14c103425efab2bc1fe38d1;p=horde.git Need to move loading tooltips.js to before the stanza that checks for required prototype.js --- diff --git a/framework/Core/lib/Horde/Script/Files.php b/framework/Core/lib/Horde/Script/Files.php index 1c79c1419..704304a16 100644 --- a/framework/Core/lib/Horde/Script/Files.php +++ b/framework/Core/lib/Horde/Script/Files.php @@ -194,6 +194,9 @@ 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']); @@ -208,9 +211,6 @@ class Horde_Script_Files } } - /* Add general UI js library. */ - $this->_add('tooltips.js', 'horde', true); - /* Add accesskeys.js if access keys are enabled. */ if ($GLOBALS['prefs']->getValue('widget_accesskey')) { $this->_add('prototype.js', 'horde', true);