Hide navbar before to show scases trash
This commit is contained in:
parent
dcf7b56163
commit
8b4425ab2a
1 changed files with 7 additions and 1 deletions
|
@ -779,6 +779,12 @@ show_scases_trash=function() {
|
||||||
show_menu('scases');
|
show_menu('scases');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
on_scases_trash_btn=function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
navbar_collapse_hide();
|
||||||
|
show_scases_trash();
|
||||||
|
}
|
||||||
|
|
||||||
clear_page=function(new_content) {
|
clear_page=function(new_content) {
|
||||||
if (new_content) {
|
if (new_content) {
|
||||||
$('#content').html(new_content);
|
$('#content').html(new_content);
|
||||||
|
@ -889,7 +895,7 @@ $( document ).ready( function() {
|
||||||
$("#add_scase_modal").on('hidden.bs.modal',on_close_add_scase_modal);
|
$("#add_scase_modal").on('hidden.bs.modal',on_close_add_scase_modal);
|
||||||
$("#add_scase_modal form").bind('submit',on_valid_add_scase_modal);
|
$("#add_scase_modal form").bind('submit',on_valid_add_scase_modal);
|
||||||
|
|
||||||
$('#scases_trash_btn').bind('click',show_scases_trash);
|
$('#scases_trash_btn').bind('click',on_scases_trash_btn);
|
||||||
|
|
||||||
$('#rename_scase_btn').bind('click',on_rename_scase_btn_click);
|
$('#rename_scase_btn').bind('click',on_rename_scase_btn_click);
|
||||||
$('#rename_scase_submit').bind('click',on_valid_rename_scase_modal);
|
$('#rename_scase_submit').bind('click',on_valid_rename_scase_modal);
|
||||||
|
|
Loading…
Reference in a new issue