# HG changeset patch # User Mads Kiilerich # Date 2014-07-02 23:03:28 # Node ID 211ded263da9fa9a44552c57c670137c1906146e # Parent c560a5789512ecb25c46d37b1a257cf5f8d87667 rhodecode.js: show/hide set_mode_header like filename_container in initCodeMirror file_enable and upload_file_enable diff --git a/rhodecode/public/js/rhodecode.js b/rhodecode/public/js/rhodecode.js --- a/rhodecode/public/js/rhodecode.js +++ b/rhodecode/public/js/rhodecode.js @@ -975,12 +975,14 @@ var initCodeMirror = function(textarea_i $('#editor_container').show(); $('#upload_file_container').hide(); $('#filename_container').show(); + $('#set_mode_header').show(); }); $('#upload_file_enable').click(function(){ $('#editor_container').hide(); $('#upload_file_container').show(); $('#filename_container').hide(); + $('#set_mode_header').hide(); }); return myCodeMirror