We updated IG to v19.1 and now js function doesn`t work
var tabs = $find(gWebTabCtrlName);
var nSelectedIndex = tabs.get_selectedIndex();
tabs.get_tabs()[nSelectedIndex].get_key()
and function tabs.get_tabs()[nSelectedIndex] return undefined, as I see now only 3 items in tabs, but I have 10
How I should change code to get correct tab?
Hello Anton,
Looking forward on your findings, please let us know if you manage to reproduce it.
I will try to reproduce
I made a quick demo with 19.1 and it seems that get_tabs() is returning the correct amount of tabs. Is there anything else I should apply to reproduce this?
I'm attaching the demo I tried. I added a submit button and after submitting $find("MainContent_WebTab1").get_tabs() is still returning the correct amount of tabs.
Can you modify it and attach here the reproducible sample?
2018.WebTabDemo.zip
It happens after submit form in webtab