mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
cloning original question instead of altering directly
This commit is contained in:
parent
f0591280b9
commit
69ea1d5b63
@ -4109,7 +4109,7 @@ define([
|
||||
idx = obj.idx;
|
||||
_uid = Util.uid();
|
||||
|
||||
var opts = content.form[uid].opts;
|
||||
var opts = Util.clone(content.form[uid].opts);
|
||||
if (type === 'multiradio' || type === 'multicheck') {
|
||||
var itemKeys = Util.getKeysArray(content.form[uid].opts.items.length);
|
||||
var valueKeys = Util.getKeysArray(content.form[uid].opts.values.length);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user