This commit is contained in:
parent
330179f4f1
commit
f74f1ae71c
|
@ -413,6 +413,8 @@ var menu = {
|
|||
$okBtn.prop("disabled", true);
|
||||
|
||||
$("#themesLink").attr("href", config.staticServer + '/static/css/themes/' + $theme.val() + '.css');
|
||||
|
||||
editor.setOption("theme", $editorTheme.val());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -422,5 +424,5 @@ var menu = {
|
|||
id: ".preference"
|
||||
});
|
||||
});
|
||||
},
|
||||
}
|
||||
};
|
|
@ -318,7 +318,7 @@
|
|||
},
|
||||
"wideSessionId": '{{.session.Id}}',
|
||||
"editorTheme": '{{.user.Editor.Theme}}',
|
||||
"latestSessionContent": {{.latestSessionContent}}
|
||||
"latestSessionContent": {{.latestSessionContent}},
|
||||
"editorTabSize": '{{.user.Editor.TabSize}}'
|
||||
};
|
||||
// 发往 Wide 的所有 AJAX 请求需要使用该函数创建请求参数.
|
||||
|
|
Loading…
Reference in New Issue