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

View File

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