Fix SVG close button of file picker
This commit is contained in:
parent
05a7bfed71
commit
d4f9cc567a
|
@ -19,6 +19,8 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* global OC, t */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* this class to ease the usage of jquery dialogs
|
* this class to ease the usage of jquery dialogs
|
||||||
*/
|
*/
|
||||||
|
@ -138,6 +140,9 @@ var OCdialogs = {
|
||||||
self.$filePicker = null;
|
self.$filePicker = null;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
if (!OC.Util.hasSVGSupport()) {
|
||||||
|
OC.Util.replaceSVG(self.$filePicker.parent());
|
||||||
|
}
|
||||||
})
|
})
|
||||||
.fail(function(status, error) {
|
.fail(function(status, error) {
|
||||||
// If the method is called while navigating away
|
// If the method is called while navigating away
|
||||||
|
|
Loading…
Reference in New Issue