You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
update frontmatter
This commit is contained in:
12
assets/js/app.min.js
vendored
12
assets/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -38,12 +38,16 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
$('form').submit(function(event) {
|
||||
var data = JSON.stringify($(this).serializeForm()),
|
||||
event.preventDefault();
|
||||
|
||||
var data = $(this).serializeJSON(),
|
||||
url = $(this).attr('action'),
|
||||
button = $(this).find("input[type=submit]:focus"),
|
||||
action = button.val();
|
||||
|
||||
$.ajax({
|
||||
console.log(data);
|
||||
|
||||
/*$.ajax({
|
||||
type: 'POST',
|
||||
url: url,
|
||||
data: data,
|
||||
@@ -64,9 +68,7 @@ $(document).ready(function() {
|
||||
type: 'error'
|
||||
});
|
||||
console.log(data);
|
||||
});
|
||||
|
||||
event.preventDefault();
|
||||
}); */
|
||||
});
|
||||
|
||||
$("#logout").click(function(e) {
|
||||
|
||||
Reference in New Issue
Block a user