Fix a problem in widget intialization for newly added switch row: serverControl value was not set.
Change-Id: Ibbf6ea75682317fe9f660d06485d1f4a1a25ee4f
This commit is contained in:
parent
4571242354
commit
904422457a
@ -259,7 +259,9 @@ steal(
|
|||||||
var tr = tbody.find("tr:last");
|
var tr = tbody.find("tr:last");
|
||||||
tr.ods_ui_switch_entry({
|
tr.ods_ui_switch_entry({
|
||||||
"odsState": this.options.odsState,
|
"odsState": this.options.odsState,
|
||||||
"switchData": null
|
"switchData": null,
|
||||||
|
"first": false,
|
||||||
|
"serverControl": this
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user