mirror of
https://github.com/google/blockly.git
synced 2026-01-15 21:07:14 +01:00
Removed deprecated callValidator call.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user