Skip to content

Commit 0010ba8

Browse files
author
Ruben Daniels
committed
Fixed bug in insertMarkup
1 parent 78fc3d8 commit 0010ba8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/markup/aml/element.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,9 +479,9 @@ apf.AmlElement = function(struct, tagName){
479479
if (options && options.clear)
480480
include.setAttribute("clear", true);
481481
include.options = options;
482-
include.callback = function(){
482+
include.callback = function(e){
483483
_self.dispatchEvent("afteramlinserted", {src: amlDefNode});
484-
options && options.callback && options.callback();
484+
options && options.callback && options.callback(e);
485485
setTimeout(function(){
486486
include.destroy(true, true);
487487
});

0 commit comments

Comments
 (0)