Fix 'this' in field change handler calls.

Caught by toebes.
This commit is contained in:
Neil Fraser 2015-08-17 23:20:29 -07:00
parent 0274763beb
commit 6d8bae4836
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ Blockly.FieldVariable.prototype.setChangeHandler = function(handler) {
} else {
wrappedHandler = Blockly.FieldVariable.dropdownChange;
}
Blockly.FieldVariable.superClass_.setChangeHandler(wrappedHandler);
Blockly.FieldVariable.superClass_.setChangeHandler.call(this, wrappedHandler);
};
/**