portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r1728112 - /portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/spaces/page-navigator.jsp
Date Tue, 02 Feb 2016 13:08:07 GMT
Author: woonsan
Date: Tue Feb  2 13:08:07 2016
New Revision: 1728112

URL: http://svn.apache.org/viewvc?rev=1728112&view=rev
Log:
change link href by the result json data, not by the user input itself

Modified:
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/spaces/page-navigator.jsp

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/spaces/page-navigator.jsp
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/spaces/page-navigator.jsp?rev=1728112&r1=1728111&r2=1728112&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/spaces/page-navigator.jsp
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/spaces/page-navigator.jsp
Tue Feb  2 13:08:07 2016
@@ -677,10 +677,9 @@ YUI().use('jetui-portal', 'io', 'json',
         }
         
         var listItem = args.complete[0];
-        var url = args.complete[1]; 
         var urlElem = listItem.one("A");
-        if (urlElem && url) {
-            urlElem.set("href", url);
+        if (urlElem) {
+            urlElem.set("href", dataOut.url);
         }
     };
     



---------------------------------------------------------------------
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