mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Kanban fixes
This commit is contained in:
parent
7b11c3b390
commit
484ff1791d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user