Also use global options. re #73
这个提交存在于:
父节点
3144c528e5
当前提交
cdde134a65
共有 1 个文件被更改,包括 5 次插入 和 0 次删除
5
util.js
5
util.js
|
@ -44,6 +44,11 @@ function isDefined(x) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getCurrentOption (option) {
|
function getCurrentOption (option) {
|
||||||
|
if (!$.cookie (option)) {
|
||||||
|
if (currentData && currentData.const && currentData.const.config && currentData.const.config [option]) {
|
||||||
|
return currentData.const.config [option];
|
||||||
|
}
|
||||||
|
}
|
||||||
return $.cookie (option);
|
return $.cookie (option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
正在加载…
添加表格
添加链接
在新工单中引用