summaryrefslogtreecommitdiffstats
path: root/core/js/oc-dialogs.js
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-11-28 15:00:19 +0100
committerGitHub <noreply@github.com>2016-11-28 15:00:19 +0100
commit183bee9b67346c9669fc39983f0f98a03771fbda (patch)
tree00db74247547026bd426c16189ace4cda6574ab3 /core/js/oc-dialogs.js
parent6cd02a7f432032868cdec71d9a391c943b50b853 (diff)
parentb2b9abfa33f75f779e62f8f2554e2159b3bca90d (diff)
downloadnextcloud-server-183bee9b67346c9669fc39983f0f98a03771fbda.tar.gz
nextcloud-server-183bee9b67346c9669fc39983f0f98a03771fbda.zip
Merge pull request #2342 from nextcloud/filepicker-shadow
Fix filepicker styling
Diffstat (limited to 'core/js/oc-dialogs.js')
-rw-r--r--core/js/oc-dialogs.js11
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'));
- }
});
},
/**