juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexo...@apache.org
Subject svn commit: r1540936 - in /juddi/trunk/juddi-gui/src/main/webapp/js: bindingChooser.js serviceBrowse.js
Date Tue, 12 Nov 2013 03:38:36 GMT
Author: alexoree
Date: Tue Nov 12 03:38:35 2013
New Revision: 1540936

URL: http://svn.apache.org/r1540936
Log:
JUDDI-579 fix for unexpected javascript failure when browsing for services

Modified:
    juddi/trunk/juddi-gui/src/main/webapp/js/bindingChooser.js
    juddi/trunk/juddi-gui/src/main/webapp/js/serviceBrowse.js

Modified: juddi/trunk/juddi-gui/src/main/webapp/js/bindingChooser.js
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/webapp/js/bindingChooser.js?rev=1540936&r1=1540935&r2=1540936&view=diff
==============================================================================
--- juddi/trunk/juddi-gui/src/main/webapp/js/bindingChooser.js (original)
+++ juddi/trunk/juddi-gui/src/main/webapp/js/bindingChooser.js Tue Nov 12 03:38:35 2013
@@ -65,20 +65,12 @@ function RenderBindingListBySearch(keywo
     request.done(function(msg) {
         window.console && console.log('postback done ');                
         $("#bindinglist").html(msg);
-       
-    //refresh();
     });
 
     request.fail(function(jqXHR, textStatus) {
         window.console && console.log('postback failed ');                      
         
         $("#bindinglist").html("An error occured! " + jqXHR.responseText + textStatus);
-    //refresh();
     });
-/*
-    $.get('ajax/businesssearch.jsp?keyword=' + keyword1 + "&offset=" + offset1 + "&maxrecords="
+ maxrecords1 + "&lang=" + lang, function(data) {
-        $("#businesslist").html(data);
-        refresh();
-    });*/
 }
 
 function refreshBinding()

Modified: juddi/trunk/juddi-gui/src/main/webapp/js/serviceBrowse.js
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/webapp/js/serviceBrowse.js?rev=1540936&r1=1540935&r2=1540936&view=diff
==============================================================================
--- juddi/trunk/juddi-gui/src/main/webapp/js/serviceBrowse.js (original)
+++ juddi/trunk/juddi-gui/src/main/webapp/js/serviceBrowse.js Tue Nov 12 03:38:35 2013
@@ -60,28 +60,18 @@ function RenderServiceListBySearch(keywo
     var request=   $.ajax({
         url: 'ajax/servicesearch.jsp?keyword=' + keyword + "&offset=" + offset + "&maxrecords="
+ maxrecords + "&lang=" + lang,
         type:"GET",
-        //  dataType: "html", 
         cache: false
-    //  processData: false,f
-    //data: d
     });
                   
     request.done(function(msg) {
         window.console && console.log('postback done ');                
         $("#serviceBrowserListings").html(msg);
-    //refresh();
     });
 
     request.fail(function(jqXHR, textStatus) {
         window.console && console.log('postback failed ');                      
         
         $("#serviceBrowserListings").html("An error occured! " + jqXHR.responseText + textStatus);
-    //refresh();
     });
-/*
-    $.get('ajax/servicesearch.jsp?keyword=' + keyword + "&offset=" + offset + "&maxrecords="
+ maxrecords, function(data) {
-        $("#serviceBrowserListings").html(data);
-        refresh();
-    });*/
 }
 
 function refresh()



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org


Mime
View raw message