[DRE-commits] [redmine] 13/19: update debian/missing-sources/jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js

Antonio Terceiro terceiro at moszumanska.debian.org
Mon Feb 15 12:31:25 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository redmine.

commit dda08e92db337338a78a901ff0ddb7dfab380573
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Mon Feb 15 08:53:55 2016 -0200

    update debian/missing-sources/jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js
---
 ...1.0-ujs-3.1.3.js => jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js} | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/debian/missing-sources/jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js b/debian/missing-sources/jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js
similarity index 99%
rename from debian/missing-sources/jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js
rename to debian/missing-sources/jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js
index 9b3379d..877205b 100644
--- a/debian/missing-sources/jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js
+++ b/debian/missing-sources/jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js
@@ -26635,10 +26635,14 @@ var tooltip = $.widget( "ui.tooltip", {
         // This is a workaround to a IE bug.
         urlAnchor.href = urlAnchor.href;
 
-        // Make sure that the browser parses the URL and that the protocols and hosts match.
-        return !urlAnchor.protocol || !urlAnchor.host ||
-          (originAnchor.protocol + "//" + originAnchor.host !==
-            urlAnchor.protocol + "//" + urlAnchor.host);
+        // If URL protocol is false or is a string containing a single colon
+        // *and* host are false, assume it is not a cross-domain request
+        // (should only be the case for IE7 and IE compatibility mode).
+        // Otherwise, evaluate protocol and host of the URL against the origin
+        // protocol and host
+        return !(((!urlAnchor.protocol || urlAnchor.protocol === ':') && !urlAnchor.host) ||
+          (originAnchor.protocol + "//" + originAnchor.host ===
+            urlAnchor.protocol + "//" + urlAnchor.host));      //
       } catch (e) {
         // If there is an error parsing the URL, assume it is crossDomain.
         return true;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/redmine.git



More information about the Pkg-ruby-extras-commits mailing list