1
0
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:
Dan Brown
2015-09-01 18:28:50 +01:00
parent 03f5f9e9b9
commit 69eff86ff5
8 changed files with 48 additions and 47 deletions

View File

@ -40,4 +40,8 @@ jQuery.fn.showFailure = function (messageMap) {
});
});
};
jQuery.fn.submitForm = function() {
$(this).closest('form').submit();
};