copy old textarea value
This commit is contained in:
parent
d35e3f570c
commit
4bd116d2b3
@ -1358,6 +1358,7 @@
|
|||||||
left: '0px'
|
left: '0px'
|
||||||
}, html);
|
}, html);
|
||||||
qr.refresh();
|
qr.refresh();
|
||||||
|
$('textarea', qr.el).value = $('textarea').value;
|
||||||
$.bind($('input[name=name]', qr.el), 'mousedown', function(e) {
|
$.bind($('input[name=name]', qr.el), 'mousedown', function(e) {
|
||||||
return e.stopPropagation();
|
return e.stopPropagation();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1087,6 +1087,7 @@ qr =
|
|||||||
qr.el = ui.dialog 'qr', top: '0px', left: '0px', html
|
qr.el = ui.dialog 'qr', top: '0px', left: '0px', html
|
||||||
|
|
||||||
qr.refresh()
|
qr.refresh()
|
||||||
|
$('textarea', qr.el).value = $('textarea').value
|
||||||
|
|
||||||
$.bind $('input[name=name]', qr.el), 'mousedown', (e) -> e.stopPropagation()
|
$.bind $('input[name=name]', qr.el), 'mousedown', (e) -> e.stopPropagation()
|
||||||
$.bind $('#autohide', qr.el), 'click', qr.cb.autohide
|
$.bind $('#autohide', qr.el), 'click', qr.cb.autohide
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user