I have a form containing a couple of links that is a competition match result entry page, you can add new players on the fly by popping up a form to add them. Code used is…
EQuickDlgs::iframeLink(
array(
'openButtonText' => 'Add Player(s)',
'controllerRoute' => Yii::app()->createUrl('/compteams/admin', array('id'=>$model->awayteamid, 'openmode'=>1)),
'dialogWidth' => 800,
'dialogHeight' => 600,
'hideTitleBar' => false,
'dialogTitle' => 'Add Players to: '.$model->ateam->teamlabel,
'closeButtonText' => 'Close',
)
);
Also on this main page is quite a few textfields used for autocomplete where the user can type a couple of letters in the players name then select from the dropdown list that appears.
The autocomplete function has all been working perfectly until I added the code above to open the add player form in a pop up. If I comment out the code above the autocomplete begins to work so the issue is definitely related to the code above.
When I type letters into the autocomplete field it accepts the first key input and displays my message for when you have not selected something from the list. The popup list of values matching the letters input no longer appears. Using firefox developer tools there are no errors with the jquery. I can see that the JSON response is received and contains results matching the only letter I can enter.
It seems to be that the list containing the matching rows that pops up is being stopped somehow.
Here are the libraries that load in the page:
<script type="text/javascript" src="/assets/5cbdefd4/jquery.js"></script>
<script type="text/javascript" src="/assets/cacb35fc/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/assets/cacb35fc/js/bootstrap-noconflict.js"></script>
<script type="text/javascript" src="/assets/cacb35fc/bootbox/bootbox.min.js"></script>
<script type="text/javascript" src="/assets/cacb35fc/notify/notify.min.js"></script>
<script type="text/javascript" src="/js/jquery-ui-no-conflict.min.js"></script>
<script type="text/javascript" src="/js/compsettings.js?1413874974"></script>
<script type="text/javascript" src="/assets/aebe7e66/fileuploader.js"></script>
If you need to see any other code, please let me know.
Any help would be greatly appreciated.
Regards
Greg J