From 2eb7a929bf67cc6d6f2c87b038a89f36ab4b0492 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 6 Sep 2010 20:08:09 -0400 Subject: [PATCH] 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. --- framework/Core/lib/Horde/Script/Files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0