Fix SVG close button of file picker

This commit is contained in:
Vincent Petry 2014-04-04 11:52:15 +02:00
parent 05a7bfed71
commit d4f9cc567a
1 changed files with 5 additions and 0 deletions

View File

@ -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