Commit 75ad4abd authored by Vincent Bechu's avatar Vincent Bechu

[cloudooo] Use util.base64toBlob

parent f8d06159
...@@ -49,9 +49,9 @@ ...@@ -49,9 +49,9 @@
"application/xml" "application/xml"
), error; ), error;
if (data.getElementsByTagName('fault').length === 0) { if (data.getElementsByTagName('fault').length === 0) {
return jIO.util.dataURItoBlob( return jIO.util.base64toBlob(
"data:" + to + ';base64,' + data.getElementsByTagName('string')[0].textContent,
data.getElementsByTagName('string')[0].textContent to
); );
} }
error = new jIO.util.jIOError('Conversion failed', 418); error = new jIO.util.jIOError('Conversion failed', 418);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment