This commit is contained in:
James Campos 2011-09-29 17:06:46 -07:00
parent dea5bebe7d
commit c1682ab23c
2 changed files with 2 additions and 0 deletions

View File

@ -1604,6 +1604,7 @@
QR.stats(); QR.stats();
$.add(d.body, qr); $.add(d.body, qr);
ta = $('textarea', qr); ta = $('textarea', qr);
ta.value = text;
l = text.length; l = text.length;
ta.setSelectionRange(l, l); ta.setSelectionRange(l, l);
return ta.focus(); return ta.focus();

View File

@ -1192,6 +1192,7 @@ QR =
QR.stats() QR.stats()
$.add d.body, qr $.add d.body, qr
ta = $ 'textarea', qr ta = $ 'textarea', qr
ta.value = text
l = text.length l = text.length
ta.setSelectionRange l, l ta.setSelectionRange l, l
ta.focus() ta.focus()