fixed readme issue for plugins
This commit is contained in:
parent
3edb0da0f8
commit
4ac2ae518d
|
|
@ -24,9 +24,7 @@ function changeSwitch(checkboxElem, idx) {
|
||||||
|
|
||||||
// switchSelector
|
// switchSelector
|
||||||
function switchSelector(idx, lvl, bid) {
|
function switchSelector(idx, lvl, bid) {
|
||||||
|
|
||||||
var old_bid = bid.replace(new RegExp(lvl + '$'), '');
|
var old_bid = bid.replace(new RegExp(lvl + '$'), '');
|
||||||
//var old_index = bid.replace(lvl, '');
|
|
||||||
url = '/api?type=devices&rid=' + idx;
|
url = '/api?type=devices&rid=' + idx;
|
||||||
requestAPI(flask_server + url, function(d) {
|
requestAPI(flask_server + url, function(d) {
|
||||||
r = JSON.parse(d);
|
r = JSON.parse(d);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue