Hello all! Has anyone with more JavaScript abilities been able to hook into ProcessWire's jQueryUI Panel functionality in order to handle onload events of the panel itself? I'm trying to simply set focus to the first input element of the form after clicking the button that activates the panel, but my click event does not run (I think due to the return false; in the panel.js as shown below).
.../wire/modules/Jquery/JqueryUI/panel.js:
// delegate events from toggler to pw-panel-button
$toggler.click(function() {
$btn.click();
return false;
}).on('mouseover', function() {
$btn.mouseover();
}).on('mouseout', function() {
$btn.mouseout();
});