From 9d63d129a68713a092a39c37025f896ec4edf00f Mon Sep 17 00:00:00 2001 From: jmoenig Date: Fri, 10 Jan 2014 12:43:22 +0100 Subject: Fixed #291 (readonly custom menus become non-readonly when block is edited) --- byob.js | 2 +- history.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/byob.js b/byob.js index 2ff40ab..4b581e1 100644 --- a/byob.js +++ b/byob.js @@ -194,7 +194,7 @@ CustomBlockDefinition.prototype.prototypeInstance = function () { part.fragment.type = slot[0]; part.fragment.defaultValue = slot[1]; part.fragment.options = slot[2]; - part.fragment.isReadonly = slot[3] || false; + part.fragment.isReadOnly = slot[3] || false; } } }); diff --git a/history.txt b/history.txt index 2b58162..d2ffc1d 100755 --- a/history.txt +++ b/history.txt @@ -2069,3 +2069,4 @@ ______ ------ * Threads: Revert pull request #295 (xhr-headers), breaks existing installations * BYOB: Fixed #292 (pulldowns loose lines when exported as library) +* BYOB: Fixed #291 (readonly custom menus become non-readonly when block is edited) -- cgit v1.3.1