Call the handler if onReady is called for a ready channel

This commit is contained in:
yflory
2017-12-11 12:48:06 +01:00
parent dcfccf88cd
commit 89cc583f53
2 changed files with 7 additions and 3 deletions

View File

@@ -1231,7 +1231,7 @@ define([
expireVal = ($('#cp-creation-expire-val').val() || 0) * unit;
}
// TODO remove these lines
// XXX TODO remove these lines
ownedVal = undefined;
expire = undefined;
@@ -1240,7 +1240,7 @@ define([
expire: expireVal,
template: template
}, function () {
$creation.remove();
$creationContainer.remove();
cb();
});
};