From 798312a6b82dc97cb6ebe8ff4abed97dd68cfade Mon Sep 17 00:00:00 2001 From: Neil Fraser Date: Wed, 1 Jul 2015 14:04:59 -0700 Subject: [PATCH] Fix open trashcan with undeletable block. --- blockly_compressed.js | 2 +- core/block_svg.js | 4 ++-- msg/js/ar.js | 4 ++-- msg/js/es.js | 2 +- msg/js/ja.js | 4 ++-- msg/js/pt.js | 10 +++++----- msg/js/uk.js | 12 ++++++------ 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/blockly_compressed.js b/blockly_compressed.js index 98e49e4db..f47ed5d05 100644 --- a/blockly_compressed.js +++ b/blockly_compressed.js @@ -1091,7 +1091,7 @@ Blockly.BlockSvg.prototype.getHeightWidth=function(){var a=this.height,b=this.wi Blockly.BlockSvg.prototype.setCollapsed=function(a){if(this.collapsed_!=a){for(var b=[],c=0,d;d=this.inputList[c];c++)b.push.apply(b,d.setVisible(!a));if(a){d=this.getIcons();for(c=0;cthis.workspace.remainingCapacity()&&(d.enabled=!1);c.push(d);this.isEditable()&&!this.collapsed_&&this.workspace.options.comments&&(d={enabled:!0},this.comment?(d.text=Blockly.Msg.REMOVE_COMMENT,d.callback= function(){b.setCommentText(null)}):(d.text=Blockly.Msg.ADD_COMMENT,d.callback=function(){b.setCommentText("")}),c.push(d));if(!this.collapsed_)for(d=1;d