Clicking on 'New Thread' should select 'New thread' in the QR's thread list.
This commit is contained in:
parent
b40a79a9f4
commit
97bc32eefa
@ -1243,6 +1243,7 @@
|
||||
});
|
||||
$.on($('a', link), 'click', function() {
|
||||
qr.open();
|
||||
if (!g.REPLY) $('select', qr.el).value = 'new';
|
||||
return $('textarea', qr.el).focus();
|
||||
});
|
||||
form = d.forms[0];
|
||||
|
||||
@ -1020,6 +1020,7 @@ qr =
|
||||
link = $.el 'h1', innerHTML: "<a href=javascript:;>#{if g.REPLY then 'Quick Reply' else 'New Thread'}</a>"
|
||||
$.on $('a', link), 'click', ->
|
||||
qr.open()
|
||||
$('select', qr.el).value = 'new' unless g.REPLY
|
||||
$('textarea', qr.el).focus()
|
||||
form = d.forms[0]
|
||||
$.before form, link
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user