Fix QR post-type automatic selection

Will no longer default to "new thread" when opening a thread.
This commit is contained in:
Zixaphir 2014-12-09 06:20:53 -07:00
parent 7dd888e2a5
commit 0b7f9dab3b
4 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,5 @@
- Fix QR post-type automatic selection
### v2.9.39
*2014-12-09*

View File

@ -9150,7 +9150,7 @@
$.rmAll(list);
$.add(list, options);
list.value = val;
if (list.value) {
if (!list.value) {
return;
}
list.value = g.VIEW === 'thread' ? g.THREADID : 'new';

View File

@ -9175,7 +9175,7 @@
$.rmAll(list);
$.add(list, options);
list.value = val;
if (list.value) {
if (!list.value) {
return;
}
list.value = g.VIEW === 'thread' ? g.THREADID : 'new';

View File

@ -397,7 +397,7 @@ QR =
$.rmAll list
$.add list, options
list.value = val
return if list.value
return unless list.value
# Fix the value if the option disappeared.
list.value = if g.VIEW is 'thread'
g.THREADID