libs/web: fix row ordering for named sections
This commit is contained in:
parent
7a5b6e34af
commit
df5329a5cb
1 changed files with 1 additions and 1 deletions
|
@ -751,7 +751,7 @@ function cbi_row_swap(elem, up, store)
|
||||||
/cbi-rowstyle-[12]/, 'cbi-rowstyle-' + (1 + (idx % 2))
|
/cbi-rowstyle-[12]/, 'cbi-rowstyle-' + (1 + (idx % 2))
|
||||||
);
|
);
|
||||||
|
|
||||||
if (table.rows[idx].id && table.rows[idx].id.match(/-(cfg[0-9a-f]+)$/) )
|
if (table.rows[idx].id && table.rows[idx].id.match(/-([^\-]+)$/) )
|
||||||
ids.push(RegExp.$1);
|
ids.push(RegExp.$1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue