1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Kanban fixes

This commit is contained in:
Hillel Coren 2017-12-25 21:05:47 +02:00
parent 7b11c3b390
commit 484ff1791d

View File

@ -268,6 +268,13 @@
}
self.ajax = function(method, url, data, callback) {
// prevent more than one request per second
if (model.is_sending_request()) {
setTimeout(function() {
self.ajax(method, url, data, callback);
}, 1000);
return;
}
model.is_sending_request(true);
$.ajax({
type: method,