]> source.dussan.org Git - nextcloud-server.git/commitdiff
Give editor focus after saving
authorTom Needham <needham.thomas@gmail.com>
Fri, 6 Apr 2012 21:38:38 +0000 (21:38 +0000)
committerTom Needham <needham.thomas@gmail.com>
Fri, 6 Apr 2012 21:38:38 +0000 (21:38 +0000)
apps/files_texteditor/js/editor.js

index 3d98a91c059cf738ebd22530d6fddbb5b3ab1a2b..016632c99797311c47aeacfa9e5f7fdb22828727 100644 (file)
@@ -174,6 +174,7 @@ function doFileSave(){
                        },'json');
                }
        }
+       giveEditorFocus();
 };
 
 // Gives the editor focus