Kanban fixes
This commit is contained in:
parent
7b11c3b390
commit
484ff1791d
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue