Skip to content

Commit 5c8cc5e

Browse files
author
Jelte Lagendijk
committed
Fix #9 optional microflow causes error
1 parent 318e9dc commit 5c8cc5e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/formatstring/widget/formatstring.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ define([
5050
},
5151

5252
_setupEvents: function () {
53-
logger.debug(this.id + "._setupEvents");
53+
logger.debug(this.id + "._setupEvents, add onClick:" + this.onclickmf);
5454
if (this.onclickmf) {
55-
this.connect(this.domNode, "onclick", this.execmf);
55+
this.connect(this.domNode, "onclick", lang.hitch(this,this.execmf));
5656
}
5757
},
5858

test/widgets/FormatString.mpk

16 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)