Client delete now requires confirmation

pull/105/merge
Michael Jett 2012-05-22 12:28:48 -04:00
parent 6c8aeba041
commit bd054bfd58
1 changed files with 13 additions and 10 deletions

View File

@ -114,6 +114,7 @@
deleteClient:function () {
if (confirm("Are you sure sure you would like to delete this client?")) {
var self = this;
this.model.destroy({
@ -127,6 +128,8 @@
});
app.clientListView.delegateEvents();
}
return false;
},