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; return self.textContent = tc;
}, },
error: function(self) { error: function(self) {
self.textContent = 'Connection error, retrying...'; self.textContent = 'Connection error, please retry.';
return DeleteButton["delete"].call(self); return $.on(self, 'click', DeleteButton["delete"]);
} }
}; };

View File

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