From c95c1a223def1cc92c3df0b69ac0d2c5789a9f00 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Mon, 4 Nov 2013 15:12:21 +0100 Subject: only show symbol menu for label fragments in InputSlotDialog --- byob.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'byob.js') diff --git a/byob.js b/byob.js index 921c3d1..6bb0eca 100644 --- a/byob.js +++ b/byob.js @@ -106,7 +106,7 @@ SymbolMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.byob = '2013-October-25'; +modules.byob = '2013-November-04'; // Declarations @@ -2490,7 +2490,9 @@ InputSlotDialogMorph.prototype.open = function ( var txt = new InputFieldMorph(defaultString), oldFlag = Morph.prototype.trackChanges; - txt.choices = this.symbolMenu; + if (!this.fragment.type) { + txt.choices = this.symbolMenu; + } Morph.prototype.trackChanges = false; this.isExpanded = this.isLaunchingExpanded; txt.setWidth(250); -- cgit v1.3.1