summaryrefslogtreecommitdiffstats
path: root/core/js/oc-dialogs.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-04-04 11:52:15 +0200
committerVincent Petry <pvince81@owncloud.com>2014-04-04 11:52:15 +0200
commitd4f9cc567af69a52e5ac43f700d970b6ea4b77d0 (patch)
treeb7c1ef23dcbe5c2e855e78003f1953418172b941 /core/js/oc-dialogs.js
parent05a7bfed71a745091f87a2bfdc719c6b7665c22d (diff)
downloadnextcloud-server-d4f9cc567af69a52e5ac43f700d970b6ea4b77d0.tar.gz
nextcloud-server-d4f9cc567af69a52e5ac43f700d970b6ea4b77d0.zip
Fix SVG close button of file picker
Diffstat (limited to 'core/js/oc-dialogs.js')
-rw-r--r--core/js/oc-dialogs.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index 4888fc1eea5..4772e10a8d2 100644
--- a/core/js/oc-dialogs.js
+++ b/core/js/oc-dialogs.js
@@ -19,6 +19,8 @@
*
*/
+/* global OC, t */
+
/**
* this class to ease the usage of jquery dialogs
*/
@@ -138,6 +140,9 @@ var OCdialogs = {
self.$filePicker = null;
}
});
+ if (!OC.Util.hasSVGSupport()) {
+ OC.Util.replaceSVG(self.$filePicker.parent());
+ }
})
.fail(function(status, error) {
// If the method is called while navigating away