mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Added image user checking before deletion. Fixes #13.
This commit is contained in:
4
resources/assets/js/jquery-extensions.js
vendored
4
resources/assets/js/jquery-extensions.js
vendored
@ -40,4 +40,8 @@ jQuery.fn.showFailure = function (messageMap) {
|
||||
});
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
jQuery.fn.submitForm = function() {
|
||||
$(this).closest('form').submit();
|
||||
};
|
Reference in New Issue
Block a user