Changeset 6766

Show
Ignore:
Timestamp:
01/20/11 02:47:03 (2 years ago)
Author:
jow
Message:

libs/web: fix row ordering for named sections

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci/trunk/libs/web/htdocs/luci-static/resources/cbi.js

    r6762 r6766  
    752752        ); 
    753753 
    754         if (table.rows[idx].id && table.rows[idx].id.match(/-(cfg[0-9a-f]+)$/) ) 
     754        if (table.rows[idx].id && table.rows[idx].id.match(/-([^\-]+)$/) ) 
    755755            ids.push(RegExp.$1); 
    756756    }