projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libs/web: fix row ordering for named sections
[project/luci.git]
/
libs
/
web
/
htdocs
/
luci-static
/
resources
/
cbi.js
diff --git
a/libs/web/htdocs/luci-static/resources/cbi.js
b/libs/web/htdocs/luci-static/resources/cbi.js
index
ac4eaa9
..
c1d0dfd
100644
(file)
--- a/
libs/web/htdocs/luci-static/resources/cbi.js
+++ b/
libs/web/htdocs/luci-static/resources/cbi.js
@@
-751,7
+751,7
@@
function cbi_row_swap(elem, up, store)
/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);
}