summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-01-10 12:43:22 +0100
committerjmoenig <jens@moenig.org>2014-01-10 12:43:22 +0100
commit9d63d129a68713a092a39c37025f896ec4edf00f (patch)
treeebdd4758e58805c76d8f18e369552ec4d51e8121
parentfba838735947f755b9b23173d744b7dbcb670a70 (diff)
downloadsnap-9d63d129a68713a092a39c37025f896ec4edf00f.tar.gz
snap-9d63d129a68713a092a39c37025f896ec4edf00f.zip
Fixed #291 (readonly custom menus become non-readonly when block is edited)
-rw-r--r--byob.js2
-rwxr-xr-xhistory.txt1
2 files changed, 2 insertions, 1 deletions
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)