summaryrefslogtreecommitdiffstats
path: root/apps/files_texteditor
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2012-04-06 21:38:38 +0000
committerTom Needham <needham.thomas@gmail.com>2012-04-06 21:38:38 +0000
commita098c7c6858a7c2c646e38d1ba150b13821f4085 (patch)
treedac643bfccff5315f3fad2fddc9d5dcfe69a8a86 /apps/files_texteditor
parent22466010fc8d5a7d5cad876b8603f2bffee58182 (diff)
downloadnextcloud-server-a098c7c6858a7c2c646e38d1ba150b13821f4085.tar.gz
nextcloud-server-a098c7c6858a7c2c646e38d1ba150b13821f4085.zip
Give editor focus after saving
Diffstat (limited to 'apps/files_texteditor')
-rw-r--r--apps/files_texteditor/js/editor.js1
1 files changed, 1 insertions, 0 deletions
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