End event groups when you finish editing a field

This commit is contained in:
Rachel Fenichel
2017-01-03 14:09:41 -08:00
parent 91938c3fb8
commit 20cf6abb5f
4 changed files with 4 additions and 0 deletions

View File

@@ -290,6 +290,7 @@ Blockly.FieldTextInput.prototype.widgetDispose_ = function() {
thisField.workspace_.removeChangeListener(
htmlInput.onWorkspaceChangeWrapper_);
Blockly.FieldTextInput.htmlInput_ = null;
Blockly.Events.setGroup(false);
// Delete style properties.
var style = Blockly.WidgetDiv.DIV.style;
style.width = 'auto';