Skip to content

Commit f822cc2

Browse files
committed
Fix for intervalAttr subscription
this._intervalChange was not called with the correct parameter, resulting in incorrect behavior when changing the interval dynamically.
1 parent bab384f commit f822cc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MicroflowTimer/widget/MicroflowTimer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ define([
257257
guid: this._contextObj.getGuid(),
258258
attr: this.intervalAttr,
259259
callback: lang.hitch(this, function(guid, attr, attrValue) {
260-
this._intervalChange();
260+
this._intervalChange(parseInt(attrValue.toFixed(0)));
261261
})
262262
});
263263
}

0 commit comments

Comments
 (0)