summaryrefslogtreecommitdiffstats
path: root/web/widget
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-02-26 14:29:31 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-02-26 16:52:57 +0200
commit0cf71792c66a1450b4c87def7ea1fb22bda5ece0 (patch)
treeaf043a067ae722b48630c0094e36737fc0d9e560 /web/widget
parent6b6da4107d0a31199c8249827ffbe72be2104ada (diff)
downloadaconf-0cf71792c66a1450b4c87def7ea1fb22bda5ece0.tar.bz2
aconf-0cf71792c66a1450b4c87def7ea1fb22bda5ece0.tar.xz
web client: allow deleting non-editable collection members
Diffstat (limited to 'web/widget')
-rw-r--r--web/widget/abstract/base.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/widget/abstract/base.js b/web/widget/abstract/base.js
index 24bc5bc..7bbe711 100644
--- a/web/widget/abstract/base.js
+++ b/web/widget/abstract/base.js
@@ -25,7 +25,7 @@ define(["acf2/dom", "jquery", "underscore"], function(dom, $, _) {
var value = data.get(name);
- if (!editable || !meta.editable) {
+ if (!removable && (!editable || !meta.editable)) {
var el = this.staticRender(value, meta);
if (el) {
_.each(["start", "updated"], function(event) {