AnsweredAssumed Answered

custom javascript in subpanel not working on click of subpanel tab

Question asked by Madhusudan Singh on Mar 12, 2015
Latest reply on Apr 20, 2015 by Manish Manish
Hi All,

I am displaying a button in subpanel and on click of it I am opening one more small dialog which contains input field. For doing this I directly coded to include/ListView/ListView.php
it was working fine.
after enabling Subpanel group tab when I load my target subpanel by clicking on subpanel tab it displays the buttton but on click of it does not displays dialog. but if I directly load my with my targeted tab by adding
$selectedGroup=translate('LBL_TABGROUP_SUPPORT') to include/subpanel/SubPanelTilesTabs.php in gettab function, then again it starts working.

Observations- when i do inspect element and search for my code, i am able to find my code before the load of button but on click of button it throws an error that function is not defined