diff --git a/applications/admin/views/default/edit_js.html b/applications/admin/views/default/edit_js.html index 9d5aec52..a10f39d4 100644 --- a/applications/admin/views/default/edit_js.html +++ b/applications/admin/views/default/edit_js.html @@ -143,6 +143,9 @@ clientHeight = (this.getScrollerElement().clientHeight / 2) this.scrollTo(null, (coords.top + coords.bottom)/2 - 10); }); + CodeMirror.commands.save = function () { + doClickSave(); + }