diff options
Diffstat (limited to 'core/js/oc-dialogs.js')
-rw-r--r-- | core/js/oc-dialogs.js | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index f811322b099..7476c93ba45 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -232,8 +232,8 @@ var OCdialogs = { self.$filePicker.ocdialog({ closeOnEscape: true, // max-width of 600 - width: Math.min((4/5)*$(document).width(), 600), - height: 420, + width: 600, + height: 500, modal: modal, buttons: buttonlist, close: function() { @@ -253,10 +253,6 @@ var OCdialogs = { } 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 @@ -835,9 +831,6 @@ var OCdialogs = { }); self.$filelist.removeClass('icon-loading'); - if (!OC.Util.hasSVGSupport()) { - OC.Util.replaceSVG(self.$filePicker.find('.dirtree')); - } }); }, /** |