Need to move loading tooltips.js to before the stanza that
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 30 Jul 2009 14:39:59 +0000 (10:39 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 30 Jul 2009 14:39:59 +0000 (10:39 -0400)
checks for required prototype.js

framework/Core/lib/Horde/Script/Files.php

index 1c79c14..704304a 100644 (file)
@@ -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);