http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10558

--- Comment #32 from Jonathan Druart <jonathan.dru...@biblibre.com> ---
Using $.ajax instead of $.getJSON (2 GET), there is only one call (1 POST) to
the ajax script:

-              $.getJSON( sSource, aoData, function (json) {
-                  fnCallback(json)
-              } );
+              $.ajax({
+                  'dataType': 'json',
+                  'type': 'POST',
+                  'url': sSource,
+                  'data': aoData,
+                  'success': function(json){
+                      fnCallback(json);
+                  }
+              });

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to