don't automate that which could be automated

This commit is contained in:
James Campos 2012-06-13 06:44:44 -07:00
parent eb33a23e67
commit 0392164a4c
2 changed files with 4 additions and 4 deletions

View File

@ -3480,8 +3480,8 @@
return self.textContent = tc;
},
error: function(self) {
self.textContent = 'Connection error, retrying...';
return DeleteButton["delete"].call(self);
self.textContent = 'Connection error, please retry.';
return $.on(self, 'click', DeleteButton["delete"]);
}
};

View File

@ -2659,8 +2659,8 @@ DeleteButton =
tc = 'Deleted'
self.textContent = tc
error: (self) ->
self.textContent = 'Connection error, retrying...'
DeleteButton.delete.call self
self.textContent = 'Connection error, please retry.'
$.on self, 'click', DeleteButton.delete
ReportButton =
init: ->