manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kish...@apache.org
Subject svn commit: r1794105 - in /manifoldcf/trunk: CHANGES.txt framework/crawler-ui/src/main/webapp/javascript/mcf.js
Date Fri, 05 May 2017 21:07:31 GMT
Author: kishore
Date: Fri May  5 21:07:31 2017
New Revision: 1794105

URL: http://svn.apache.org/viewvc?rev=1794105&view=rev
Log:
Fix for CONNECTORS-1423

Modified:
    manifoldcf/trunk/CHANGES.txt
    manifoldcf/trunk/framework/crawler-ui/src/main/webapp/javascript/mcf.js

Modified: manifoldcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1794105&r1=1794104&r2=1794105&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Fri May  5 21:07:31 2017
@@ -3,6 +3,9 @@ $Id$
 
 ======================= 2.8-dev =====================
 
+CONNECTORS-1423: Fix the new UI to add certificates to connections with certificate stores.
+(Karl Wright, Kishore Kumar)
+
 CONNECTORS-1422: Fix an HTML problem in SharePoint metadata UI.
 (David Hotchkiss)
 

Modified: manifoldcf/trunk/framework/crawler-ui/src/main/webapp/javascript/mcf.js
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/crawler-ui/src/main/webapp/javascript/mcf.js?rev=1794105&r1=1794104&r2=1794105&view=diff
==============================================================================
--- manifoldcf/trunk/framework/crawler-ui/src/main/webapp/javascript/mcf.js (original)
+++ manifoldcf/trunk/framework/crawler-ui/src/main/webapp/javascript/mcf.js Fri May  5 21:07:31
2017
@@ -441,15 +441,21 @@ $.ManifoldCF.loadContent=function (url)
 $.ManifoldCF.submit=function (form)
 {
   $('.overlay,#loader').show();
-  var $form=$(form);
-  var action=$form.attr('action');
-  console.log("Ajax URL: " + action);
-  console.log($form.serialize());
+
+  var formData = new FormData(form),
+      $form = $(form),
+      action = $form.attr('action'),
+      method = $form.attr('method');
+
   _preLoadContent();
+
   $.ajax({
-    type: $form.attr('method'),
+    type: method,
     url: action,
-    data: $form.serialize()
+    data: formData,
+    cache: false,
+    contentType: false,
+    processData: false
   }).done(function (data,textStatus,jqXHR)
   {
     var page=jqXHR.getResponseHeader("page");



Mime
View raw message