/safe_action |
action renders the skinmgr menu in a safe (eg. unscrewable) way using
the page skin of skinmgr instead of the one of the site
so if something goes wrong this action should at least
give users the possibility to undo their changes |
Sourcecode in SkinMgr/actions.js:
1: function safe_action() { 2: res.data.title = this._parent.title; 3: res.data.list = this.renderList(this.modified); 4: res.data.body = this.renderSkinAsString("main"); 5: this.renderSkin("page"); 6: return; 7: } |