portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r813969 - /portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/javascript/jetspeed/widget/PortletWindow.src.js
Date Fri, 11 Sep 2009 18:18:07 GMT
Author: woonsan
Date: Fri Sep 11 18:18:07 2009
New Revision: 813969

URL: http://svn.apache.org/viewvc?rev=813969&view=rev
Log:
JS2-1063: Fixing regex.

Modified:
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/javascript/jetspeed/widget/PortletWindow.src.js

Modified: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/javascript/jetspeed/widget/PortletWindow.src.js
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/javascript/jetspeed/widget/PortletWindow.src.js?rev=813969&r1=813968&r2=813969&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/javascript/jetspeed/widget/PortletWindow.src.js
(original)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/javascript/jetspeed/widget/PortletWindow.src.js
Fri Sep 11 18:18:07 2009
@@ -2899,7 +2899,7 @@
     
     _isUrlFromSameDomain: function( url )
     {
-        var reUrl = /^https?\:\/\/([\w\.-]+)[:/]?/i;
+        var reUrl = /^https?\:\/\/([\w\.-]+)[:\/]?/i;
         if (reUrl.test(url))
         {
             var targetDomain = RegExp.$1;



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message