Skip to content

Commit

Permalink
Merge pull request #53 from QuickCorp/v2.3
Browse files Browse the repository at this point in the history
occasional bug fix (componentDone binding)
  • Loading branch information
jeanmachuca committed Apr 17, 2021
2 parents e71c508 + cef789d commit 09afa04
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions QCObjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -3150,13 +3150,7 @@
if (ClassFactory("CONFIG").get("preserveComponentBodyTag")) {
components[_c].append(newComponent);
}
newComponent.__promise__.then(function(standardResponse) {
var _ret_;
_ret_ = componentDone.call(newComponent, standardResponse);
return Promise.resolve(_ret_);
}).catch(function(e) {
logger.debug("Something wrong rendering the component "+newComponent.name);
});
newComponent.done = componentDone;
return newComponent;
});
return componentsBuiltWith;
Expand Down

0 comments on commit 09afa04

Please sign in to comment.