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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Загрузка…
Создание таблицы
Добавить ссылку
Сослаться в новой задаче