diff --git a/courses/static/js/modal_category.js b/courses/static/js/modal_category.js index 63a893c..7e8a83f 100644 --- a/courses/static/js/modal_category.js +++ b/courses/static/js/modal_category.js @@ -4,6 +4,7 @@ var Submite = { $.post(url,dados, function(data){ $(id_li_link).remove(); $("#modal_remove_cat").empty(); + $('body').removeClass('modal-open'); $(id_li_link).remove(); $(".modal-backdrop.in").remove(); alertify.success("Category removed successfully!"); @@ -14,17 +15,3 @@ var Submite = { }); } } - -// var modal = { -// get: function (url, id_modal, id_div_modal){ -// $.get(url, function(data){ -// if($(id_modal).length){ -// $(id_div_modal).empty(); -// $(id_div_modal).append(data); -// } else { -// $(id_div_modal).append(data); -// } -// $(id_modal).modal('show'); -// }); -// } -// }; diff --git a/links/templates/links/create_link.html b/links/templates/links/create_link.html index 6d2ddf4..656dfe0 100644 --- a/links/templates/links/create_link.html +++ b/links/templates/links/create_link.html @@ -46,6 +46,7 @@ -- libgit2 0.21.2