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
|
### v2.9.39
|
||||||
*2014-12-09*
|
*2014-12-09*
|
||||||
|
|
||||||
|
|||||||
@ -9150,7 +9150,7 @@
|
|||||||
$.rmAll(list);
|
$.rmAll(list);
|
||||||
$.add(list, options);
|
$.add(list, options);
|
||||||
list.value = val;
|
list.value = val;
|
||||||
if (list.value) {
|
if (!list.value) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
list.value = g.VIEW === 'thread' ? g.THREADID : 'new';
|
list.value = g.VIEW === 'thread' ? g.THREADID : 'new';
|
||||||
|
|||||||
@ -9175,7 +9175,7 @@
|
|||||||
$.rmAll(list);
|
$.rmAll(list);
|
||||||
$.add(list, options);
|
$.add(list, options);
|
||||||
list.value = val;
|
list.value = val;
|
||||||
if (list.value) {
|
if (!list.value) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
list.value = g.VIEW === 'thread' ? g.THREADID : 'new';
|
list.value = g.VIEW === 'thread' ? g.THREADID : 'new';
|
||||||
|
|||||||
@ -397,7 +397,7 @@ QR =
|
|||||||
$.rmAll list
|
$.rmAll list
|
||||||
$.add list, options
|
$.add list, options
|
||||||
list.value = val
|
list.value = val
|
||||||
return if list.value
|
return unless list.value
|
||||||
# Fix the value if the option disappeared.
|
# Fix the value if the option disappeared.
|
||||||
list.value = if g.VIEW is 'thread'
|
list.value = if g.VIEW is 'thread'
|
||||||
g.THREADID
|
g.THREADID
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user