Skip to content

Commit 8db91c8

Browse files
committed
Re-added filemanager default refresh behavoiur, thanks to @jonasbardino
1 parent 1210e1d commit 8db91c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mig/images/js/jquery.filemanager.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,13 +1723,12 @@ if (jQuery) (function($){
17231723
});
17241724

17251725
// Define window behavior
1726-
1726+
$.fn.refresh_fm_layout = refresh_fm_layout;
17271727
$(window).on("resize", function() {
17281728
console.debug("refresh layout on resize");
17291729
$.fn.refresh_fm_layout();
17301730
});
17311731

1732-
17331732
// reestablish defaults for undefined actions:
17341733
$.each(callbacks, function(name, fct) {
17351734
if (options['actions'][name] === undefined) {

0 commit comments

Comments
 (0)