Author: kishore
Date: Tue Mar 21 23:16:03 2017
New Revision: 1788035

URL: http://svn.apache.org/viewvc?rev=1788035&view=rev
Log:
Fixed list*.jsp pages

Modified:
    
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/javascript/app.js
    
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/listauthorities.jsp
    
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/listmappers.jsp
    
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/listoutputs.jsp
    
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/viewtransformation.jsp

Modified: 
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/javascript/app.js
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/javascript/app.js?rev=1788035&r1=1788034&r2=1788035&view=diff
==============================================================================
--- 
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/javascript/app.js
 (original)
+++ 
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/javascript/app.js
 Tue Mar 21 23:16:03 2017
@@ -394,12 +394,11 @@ function _postLoadContent()
 
 $.ManifoldCF.loadContent=function (url)
 {
+  $('.spinner,#loader').show();
   console.log("URL: " + url);
   _preLoadContent();
-  $('.spinner,#loader').show();
   $('#content').load(decodeURIComponent(url),function (response,status,xhr)
   {
-    $('.spinner,#loader').hide();
     if (status == 'error')
     {
       $(".content-header #heading").text('Error');
@@ -407,6 +406,7 @@ $.ManifoldCF.loadContent=function (url)
       displayError(xhr);
     }
     _postLoadContent();
+    $('.spinner,#loader').hide();
   });
 };
 
@@ -441,8 +441,8 @@ $.ManifoldCF.submit=function (form)
     displayError(xhr);
   }).always(function ()
   {
-    $('.spinner,#loader').hide();
     _postLoadContent();
+    $('.spinner,#loader').hide();
   });
 }
 

Modified: 
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/listauthorities.jsp
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/listauthorities.jsp?rev=1788035&r1=1788034&r2=1788035&view=diff
==============================================================================
--- 
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/listauthorities.jsp
 (original)
+++ 
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/listauthorities.jsp
 Tue Mar 21 23:16:03 2017
@@ -53,7 +53,7 @@ try
     {
       document.listconnections.op.value="Delete";
       document.listconnections.connname.value=connectionName;
-      document.listconnections.submit();
+      $.ManifoldCF.submit(document.listconnections);
     }
   }
 

Modified: 
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/listmappers.jsp
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/listmappers.jsp?rev=1788035&r1=1788034&r2=1788035&view=diff
==============================================================================
--- 
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/listmappers.jsp
 (original)
+++ 
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/listmappers.jsp
 Tue Mar 21 23:16:03 2017
@@ -53,7 +53,7 @@ try
     {
       document.listconnections.op.value="Delete";
       document.listconnections.connname.value=connectionName;
-      document.listconnections.submit();
+      $.ManifoldCF.submit(document.listconnections);
     }
   }
   //-->

Modified: 
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/listoutputs.jsp
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/listoutputs.jsp?rev=1788035&r1=1788034&r2=1788035&view=diff
==============================================================================
--- 
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/listoutputs.jsp
 (original)
+++ 
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/listoutputs.jsp
 Tue Mar 21 23:16:03 2017
@@ -54,7 +54,6 @@ try
       document.listconnections.op.value="Delete";
       document.listconnections.connname.value=connectionName;
       $.ManifoldCF.submit(document.listconnections);
-      //document.listconnections.submit();
     }
   }
   //-->

Modified: 
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/viewtransformation.jsp
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/viewtransformation.jsp?rev=1788035&r1=1788034&r2=1788035&view=diff
==============================================================================
--- 
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/viewtransformation.jsp
 (original)
+++ 
manifoldcf/branches/CONNECTORS-1196-2/framework/crawler-ui/src/main/webapp/viewtransformation.jsp
 Tue Mar 21 23:16:03 2017
@@ -101,7 +101,6 @@ try
       document.viewconnection.op.value="Delete";
       document.viewconnection.connname.value=connectionName;
       $.ManifoldCF.submit(document.viewconnection);
-      //document.viewconnection.submit();
     }
   }
 


Reply via email to