From: Michael J. Rubinsky Date: Tue, 7 Sep 2010 00:08:09 +0000 (-0400) Subject: If we don't want to explicitly add prototype if other scripts are X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2eb7a929bf67cc6d6f2c87b038a89f36ab4b0492;p=horde.git If we don't want to explicitly add prototype if other scripts are 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. --- diff --git a/framework/Core/lib/Horde/Script/Files.php b/framework/Core/lib/Horde/Script/Files.php index e28968bd5..47bbfb0a9 100644 --- a/framework/Core/lib/Horde/Script/Files.php +++ b/framework/Core/lib/Horde/Script/Files.php @@ -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