##// END OF EJS Templates
rhodecode.js: show/hide set_mode_header like filename_container in initCodeMirror file_enable and upload_file_enable
Mads Kiilerich -
r4170:211ded26 rhodecode-2.2.5-gpl
parent child Browse files
Show More
@@ -975,12 +975,14 b' var initCodeMirror = function(textarea_i'
975 $('#editor_container').show();
975 $('#editor_container').show();
976 $('#upload_file_container').hide();
976 $('#upload_file_container').hide();
977 $('#filename_container').show();
977 $('#filename_container').show();
978 $('#set_mode_header').show();
978 });
979 });
979
980
980 $('#upload_file_enable').click(function(){
981 $('#upload_file_enable').click(function(){
981 $('#editor_container').hide();
982 $('#editor_container').hide();
982 $('#upload_file_container').show();
983 $('#upload_file_container').show();
983 $('#filename_container').hide();
984 $('#filename_container').hide();
985 $('#set_mode_header').hide();
984 });
986 });
985
987
986 return myCodeMirror
988 return myCodeMirror
General Comments 0
You need to be logged in to leave comments. Login now