This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository scmwebeditor. See http://git.nuiton.org/scmwebeditor.git commit 0a3df041977a6289de4def66e58596d8f9daffe3 Author: Hugo PIGEON <hpigeon@codelutin.com> Date: Mon Jun 1 11:57:16 2015 +0200 Add the ability to save the edited file by a Ctrl-S in the editor --- swe-ui-web/src/main/webapp/WEB-INF/content/modificationViewer.jsp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/swe-ui-web/src/main/webapp/WEB-INF/content/modificationViewer.jsp b/swe-ui-web/src/main/webapp/WEB-INF/content/modificationViewer.jsp index 5f3a9d6..957734a 100644 --- a/swe-ui-web/src/main/webapp/WEB-INF/content/modificationViewer.jsp +++ b/swe-ui-web/src/main/webapp/WEB-INF/content/modificationViewer.jsp @@ -407,6 +407,12 @@ buttons: ['undo', 'redo', 'jump', 'reindentSelection', 'reindent'] } var codeMirrorOptions = { mode: "null", lineNumbers: true, lineWrapping: true } var editor = new CodeMirrorUI(textarea, uiOptions, codeMirrorOptions); + + editor.mirror.setOption("extraKeys", { + "Ctrl-S": function(cm) { + openPopin("commitPopin"); + } + }); </script> -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.