Removed deprecated callValidator call.

This commit is contained in:
Beka Westberg
2019-08-09 09:08:28 -07:00
parent f2562c80d8
commit d6ebbc9698

View File

@@ -170,9 +170,6 @@ Blockly.Events.Change.prototype.run = function(forward) {
case 'field':
var field = block.getField(this.name);
if (field) {
// Run the validator for any side-effects it may have.
// The validator's opinion on validity is ignored.
field.callValidator(value);
field.setValue(value);
} else {
console.warn("Can't set non-existent field: " + this.name);