Fix missing callback when uploading files to the drive
This commit is contained in:
parent
33e3c6a0c0
commit
0f02d76b56
@ -276,6 +276,7 @@ define([
|
|||||||
};
|
};
|
||||||
|
|
||||||
common.setPadAttribute = function (attr, value, cb, href) {
|
common.setPadAttribute = function (attr, value, cb, href) {
|
||||||
|
cb = cb || function () {};
|
||||||
href = Hash.getRelativeHref(href || window.location.href);
|
href = Hash.getRelativeHref(href || window.location.href);
|
||||||
postMessage("SET_PAD_ATTRIBUTE", {
|
postMessage("SET_PAD_ATTRIBUTE", {
|
||||||
href: href,
|
href: href,
|
||||||
@ -297,6 +298,7 @@ define([
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
common.setAttribute = function (attr, value, cb) {
|
common.setAttribute = function (attr, value, cb) {
|
||||||
|
cb = cb || function () {};
|
||||||
postMessage("SET_ATTRIBUTE", {
|
postMessage("SET_ATTRIBUTE", {
|
||||||
attr: attr,
|
attr: attr,
|
||||||
value: value
|
value: value
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user