diff --git a/system/resources/js/jquery.nestable++.js b/system/resources/js/jquery.nestable++.js index 3b6e381..15ddacd 100644 --- a/system/resources/js/jquery.nestable++.js +++ b/system/resources/js/jquery.nestable++.js @@ -156,6 +156,11 @@ var addToMenu = function () { $(".dd.nestable .button-delete-"+newId).on("click", deleteFromMenu); $(".dd.nestable .button-edit-"+newId).on("click", prepareEdit); + // clear input + $("#addInputName").val(''); + $("#addInputSlug").val(''); + $("#addInputClass").val(''); + };