autopost when attaching another file

This commit is contained in:
James Campos 2011-09-02 22:11:01 -07:00
parent dbeac1f6ce
commit 3a939f81ec
2 changed files with 2 additions and 0 deletions

View File

@ -1253,6 +1253,7 @@
},
attach: function() {
var div, file;
$('#auto', QR.el).checked = true;
div = $.el('div', {
innerHTML: '<input name=upfile type=file><a class=close>X</a>'
});

View File

@ -980,6 +980,7 @@ QR =
if conf['Auto Hide QR']
$('#autohide', QR.el).checked = true
attach: ->
$('#auto', QR.el).checked = true
div = $.el 'div',
innerHTML: '<input name=upfile type=file><a class=close>X</a>'
file = $ 'input', div