mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 07:18:52 +02:00
fix for table creation on settings.js
This commit is contained in:
parent
2eb796eca6
commit
dff021ea15
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