mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-08 11:22:10 +00:00
fix double click on "Save". See #22
This commit is contained in:
parent
77aff61d70
commit
98de25c81a
2
assets/js/app.min.js
vendored
2
assets/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
@ -210,6 +210,11 @@ $(document).on('ready pjax:success', function() {
|
||||
$('#preview').data("previewing", "false");
|
||||
$('.CodeMirror').fadeIn();
|
||||
|
||||
// Save editor values
|
||||
if (typeof editor !== 'undefined') {
|
||||
editor.save();
|
||||
}
|
||||
|
||||
var data = JSON.stringify($(this).serializeJSON()),
|
||||
button = $(this).find("input[type=submit]:focus");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user