From d6ebbc969836c68a5099481e525d2c0d7e1b3020 Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Fri, 9 Aug 2019 09:08:28 -0700 Subject: [PATCH] Removed deprecated callValidator call. --- core/block_events.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/block_events.js b/core/block_events.js index b57fe3ee3..376ddc20a 100644 --- a/core/block_events.js +++ b/core/block_events.js @@ -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);