Update of /var/cvs/applications/searchrelate/templates
In directory james.mmbase.org:/tmp/cvs-serv17359
Modified Files:
Searcher.js.jsp
Log Message:
since submitting will often be done just before submitting a form, it is better
to do it asynchronously, because the page will be left
See also: http://cvs.mmbase.org/viewcvs/applications/searchrelate/templates
Index: Searcher.js.jsp
===================================================================
RCS file: /var/cvs/applications/searchrelate/templates/Searcher.js.jsp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- Searcher.js.jsp 4 Jun 2008 12:57:16 -0000 1.20
+++ Searcher.js.jsp 4 Jun 2008 13:00:27 -0000 1.21
@@ -11,7 +11,7 @@
*
* @author Michiel Meeuwissen
- * @version $Id: Searcher.js.jsp,v 1.20 2008/06/04 12:57:16 michiel Exp $
+ * @version $Id: Searcher.js.jsp,v 1.21 2008/06/04 13:00:27 michiel Exp $
*/
$(document).ready(function(){
@@ -155,7 +155,7 @@
params.transaction = this.transaction;
}
var self = this;
- $.ajax({url: url, type: "GET", dataType: "xml", data: params,
+ $.ajax({async: false, url: url, type: "GET", dataType: "xml", data:
params,
complete: function(res, status){
$(a).removeClass("submitting");
if (status == "success") {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs