]> source.dussan.org Git - nextcloud-server.git/commitdiff
Save button now removed after closing editor
authorTom Needham <needham.thomas@gmail.com>
Tue, 4 Oct 2011 19:15:20 +0000 (20:15 +0100)
committerTom Needham <needham.thomas@gmail.com>
Tue, 4 Oct 2011 19:15:20 +0000 (20:15 +0100)
apps/files_texteditor/js/editor.js

index 9ff29b01e6d31551ba0c702d710b37698d365dd6..0e3e9776e1185c4870333a35516c23da66552f62 100644 (file)
@@ -151,6 +151,7 @@ function hideFileEditor(){
        // Fade out editor
        $('#editor').fadeOut('slow', function(){
                $('#editor_close').remove();
+               $('#editor_save').remove();
                $('#editor').remove();
                $('.actions').prev().remove();
                var editorhtml = '<div id="editor"></div>';