Fix QR post-type automatic selection
Will no longer default to "new thread" when opening a thread.
This commit is contained in:
parent
7dd888e2a5
commit
0b7f9dab3b
@ -1,3 +1,5 @@
|
||||
- Fix QR post-type automatic selection
|
||||
|
||||
### v2.9.39
|
||||
*2014-12-09*
|
||||
|
||||
|
||||
@ -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';
|
||||
|
||||
@ -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';
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user