Fix missing callback when uploading files to the drive

pull/1/head
yflory 2018-01-03 15:08:26 +01:00
parent 33e3c6a0c0
commit 0f02d76b56
1 changed files with 2 additions and 0 deletions

View File

@ -276,6 +276,7 @@ define([
};
common.setPadAttribute = function (attr, value, cb, href) {
cb = cb || function () {};
href = Hash.getRelativeHref(href || window.location.href);
postMessage("SET_PAD_ATTRIBUTE", {
href: href,
@ -297,6 +298,7 @@ define([
});
};
common.setAttribute = function (attr, value, cb) {
cb = cb || function () {};
postMessage("SET_ATTRIBUTE", {
attr: attr,
value: value