mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
Merge pull request #4911 from birarda/domain-wizard
fix for table creation in settings.js
This commit is contained in:
commit
87a0f2f474
1 changed files with 1 additions and 1 deletions
|
@ -808,7 +808,7 @@ function makeTable(setting, keypath, setting_value, isLocked) {
|
|||
// populate rows in the table from existing values
|
||||
var row_num = 1;
|
||||
|
||||
if (setting_value.length > 0) {
|
||||
if (keypath.length > 0 && _.size(setting_value) > 0) {
|
||||
_.each(setting_value, function(row, indexOrName) {
|
||||
html += "<tr class='" + Settings.DATA_ROW_CLASS + "'" + (isArray ? "" : "name='" + keypath + "." + indexOrName + "'") + ">"
|
||||
|
||||
|
|
Loading…
Reference in a new issue