diff options
Diffstat (limited to 'internal/admin/static/moduleeditor.js')
| -rw-r--r-- | internal/admin/static/moduleeditor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/admin/static/moduleeditor.js b/internal/admin/static/moduleeditor.js index fe71f88..b2eb79f 100644 --- a/internal/admin/static/moduleeditor.js +++ b/internal/admin/static/moduleeditor.js @@ -221,7 +221,7 @@ function addArrayItem(cardID) { var arr = moduleData[sec.path] || []; var empty = {}; sec.fields.forEach(function(f) { - empty[f[0]] = f[2] === 'checkbox' ? false : (f[2] === 'number' ? 0 : ''); + empty[f[0]] = f[2] === 'checkbox' ? false : ''; }); arr.push(empty); moduleData[sec.path] = arr; |
