Add project restriction to block task edition

This commit is contained in:
Frederic Guillot
2017-04-07 21:46:36 -04:00
parent 481e767d35
commit 003c03a4e6
6 changed files with 44 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@@ -37,6 +37,12 @@
} else {
destroy();
}
}).error(function (response) {
KB.trigger('modal.stop');
if (response.hasOwnProperty('message')) {
window.alert(response.message);
}
});
}
}