fix frame selection resetting
This commit is contained in:
parent
4d21187596
commit
acd38cf8b4
@ -86,18 +86,17 @@ function loadFrames(videoTab) {
|
|||||||
tablist['siteSettings'].insertSubitem(newItem);
|
tablist['siteSettings'].insertSubitem(newItem);
|
||||||
tablist['videoSettings'].insertSubitem(newItem);
|
tablist['videoSettings'].insertSubitem(newItem);
|
||||||
}
|
}
|
||||||
|
console.log("SELECTED SUBITEM — FIRST:", selectedSubitem)
|
||||||
|
|
||||||
if (! selectedSubitem.siteSettings) {
|
if (! selectedSubitem.siteSettings) {
|
||||||
selectedSubitem['siteSettings'] = tablist['siteSettings'].selectFirstSubitem();
|
selectedSubitem['siteSettings'] = tablist['siteSettings'].selectFirstSubitem();
|
||||||
} else {
|
} else {
|
||||||
tablist['siteSettings'].selectSubitem(selectedSubitem.siteSettings)
|
tablist['siteSettings'].selectSubitem(selectedSubitem.siteSettings)
|
||||||
selectedSubitem['siteSettings'] = selectedSubitem.siteSettings.name;
|
|
||||||
}
|
}
|
||||||
if (! selectedSubitem.videoSettings) {
|
if (! selectedSubitem.videoSettings) {
|
||||||
selectedSubitem['videoSettings'] = tablist['videoSettings'].selectFirstSubitem();
|
selectedSubitem['videoSettings'] = tablist['videoSettings'].selectFirstSubitem();
|
||||||
} else {
|
} else {
|
||||||
tablist['videoSettings'].selectSubitem(selectedSubitem.videoSettings);
|
tablist['videoSettings'].selectSubitem(selectedSubitem.videoSettings);
|
||||||
selectedSubitem['videoSettings'] = selectedSubitem.videoSettings.name;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("SELECTED SUBITEMT:", selectedSubitem)
|
console.log("SELECTED SUBITEMT:", selectedSubitem)
|
||||||
|
Loading…
Reference in New Issue
Block a user