user_selector form helper not launching in modal
Permalink 1 user found helpful
Hey there,
I have a dashboard page on one of my packages in which I'm trying to leverage the user_selector form helper.
The issue is that, when I launch the selector, instead of opening in a modal, it goes to a new page sans any layout.
I'm using the page selector on the same page with no issue at all.
My code boils down to:
I've even tried this on a page all by itself to see if another element on the page was conflicting.
Anyone dug into this helper much?
I have a dashboard page on one of my packages in which I'm trying to leverage the user_selector form helper.
The issue is that, when I launch the selector, instead of opening in a modal, it goes to a new page sans any layout.
I'm using the page selector on the same page with no issue at all.
My code boils down to:
<?php $ush = Loader::helper('form/user_selector'); echo $ush->selectUser('userID',$userID); ?>
I've even tried this on a page all by itself to see if another element on the page was conflicting.
Anyone dug into this helper much?
Out of the box, the helper generates this code:
After staring at the working page selector code, I made a few modifications and it fired right up.
Any chance this correction could be made in the core?