copy old textarea value

This commit is contained in:
James Campos 2011-07-31 17:09:17 -07:00
parent d35e3f570c
commit 4bd116d2b3
2 changed files with 2 additions and 0 deletions

View File

@ -1358,6 +1358,7 @@
left: '0px'
}, html);
qr.refresh();
$('textarea', qr.el).value = $('textarea').value;
$.bind($('input[name=name]', qr.el), 'mousedown', function(e) {
return e.stopPropagation();
});

View File

@ -1087,6 +1087,7 @@ qr =
qr.el = ui.dialog 'qr', top: '0px', left: '0px', html
qr.refresh()
$('textarea', qr.el).value = $('textarea').value
$.bind $('input[name=name]', qr.el), 'mousedown', (e) -> e.stopPropagation()
$.bind $('#autohide', qr.el), 'click', qr.cb.autohide