stats on file removal
This commit is contained in:
parent
ad3af8c087
commit
dc19a799a7
@ -1266,13 +1266,15 @@
|
||||
$.bind($('img', box), 'click', function() {
|
||||
return this.previousSibling.click();
|
||||
});
|
||||
$.bind($('.x', box), 'click', function() {
|
||||
return $.rm(this.parentNode);
|
||||
});
|
||||
$.bind($('.x', box), 'click', QR.rmThumb);
|
||||
$.add(files, box);
|
||||
file.click();
|
||||
return QR.stats();
|
||||
},
|
||||
rmThumb: function() {
|
||||
$.rm(this.parentNode);
|
||||
return QR.stats();
|
||||
},
|
||||
captchaNode: function(e) {
|
||||
QR.captcha = {
|
||||
challenge: e.target.value,
|
||||
|
||||
@ -977,10 +977,13 @@ QR =
|
||||
file = $ 'input', box
|
||||
$.bind file, 'change', QR.change
|
||||
$.bind $('img', box), 'click', -> @previousSibling.click()
|
||||
$.bind $('.x', box), 'click', -> $.rm @parentNode
|
||||
$.bind $('.x', box), 'click', QR.rmThumb
|
||||
$.add files, box
|
||||
file.click()
|
||||
QR.stats()
|
||||
rmThumb: ->
|
||||
$.rm @parentNode
|
||||
QR.stats()
|
||||
captchaNode: (e) ->
|
||||
QR.captcha =
|
||||
challenge: e.target.value
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user