settings: refactor settings store

read-only: pass flag with index.html response
theme: clean & remove old themes
This commit is contained in:
bordun 2020-03-20 12:57:47 +01:00
parent 1b73dbfaa5
commit 4a30b98cd0
23 changed files with 203 additions and 418 deletions

View file

@ -94,11 +94,6 @@ module.exports = {
},
readOnly: function(){
READ_ONLY = true
if (editor.enabled) editor.disable()
},
reload: function(){
var id = Math.random(),