closeOnEscape: true,
// max-width of 600
width: Math.min((4/5)*$(document).width(), 600),
- height: 420,
+ height: Math.min((4 / 5) * $(document).height(), 500),
modal: modal,
buttons: buttonlist,
close: function() {
} else {
buttonEnableDisable.prop("disabled", true);
}
-
- if (!OC.Util.hasSVGSupport()) {
- OC.Util.replaceSVG(self.$filePicker.parent());
- }
})
.fail(function(status, error) {
// If the method is called while navigating away
});
self.$filelist.removeClass('icon-loading');
- if (!OC.Util.hasSVGSupport()) {
- OC.Util.replaceSVG(self.$filePicker.find('.dirtree'));
- }
});
},
/**