I thought that ‘tabshow’ was now running anytime a tab was shown, including pageload (see https://community.skuid.com/t/run-code-when-tab-loads), but it doesn’t seem to be, unless I’m doing something wrong.
I made a comment on that thread, but it’s so buried I thought it best to start a new one.
I have this code in-line:
$(document.body).one('pageload',function() { <br>// Set tabshow function<br>$(tabSet).on('tabshow',function(event, data){<br>console.log(event);<br>console.log(data);<br>});<br>});
But I get nothing in the console.