If we don't want to explicitly add prototype if other scripts are
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 7 Sep 2010 00:08:09 +0000 (20:08 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 7 Sep 2010 00:08:09 +0000 (20:08 -0400)
added, then we need to assume that if the other script is requesting
a full url, then prototype should be a full url as well.

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

index e28968b..47bbfb0 100644 (file)
@@ -104,7 +104,7 @@ class Horde_Script_Files
         // Always add prototype.js.
         if (!isset($this->_included[$app]['prototype.js']) &&
             ($file != 'prototype.js')) {
-            $this->add('prototype.js', 'horde');
+            $this->add('prototype.js', 'horde', $full);
         }
 
         // Add localized string for popup.js