From: Tom Needham Date: Fri, 6 Apr 2012 21:38:38 +0000 (+0000) Subject: Give editor focus after saving X-Git-Tag: v4.0.0beta~381^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a098c7c6858a7c2c646e38d1ba150b13821f4085;p=nextcloud-server.git Give editor focus after saving --- diff --git a/apps/files_texteditor/js/editor.js b/apps/files_texteditor/js/editor.js index 3d98a91c059..016632c9979 100644 --- a/apps/files_texteditor/js/editor.js +++ b/apps/files_texteditor/js/editor.js @@ -174,6 +174,7 @@ function doFileSave(){ },'json'); } } + giveEditorFocus(); }; // Gives the editor focus