readd listener on connection error

This commit is contained in:
James Campos 2012-06-13 06:01:18 -07:00
parent 3efe11ae32
commit e18120acd2
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -2655,6 +2655,7 @@ DeleteButton =
self.textContent = tc
error: (self) ->
self.textContent = 'Error'
$.on 'click', self, DeleteButton.delete
ReportButton =
init: ->