connection error

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

View File

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

View File

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