? Success

User tests: Successful: Unsuccessful:

avatar dgt41
dgt41
13 Aug 2015

Solution for #7685

Steps to reproduce the issue

You should have some kind of content that includes (a form with) a html select element. For testing you could create a custom html module containing just a select element with two options. [Edit: See next post for demo code]
Set Mouse over Edit icons to Modules and menus (in System > Global configuration)
Then, using Firefox (Windows or Mac) log into the front end as an admin and navigate to your module. Click the select element and try to select the second option.

Testing

Apply the patch and see if this is fixed

avatar dgt41 dgt41 - open - 13 Aug 2015
avatar dgt41 dgt41 - change - 13 Aug 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 Aug 2015
Labels Added: ?
avatar justinherrin
justinherrin - comment - 13 Aug 2015

Applied the patch and tested good in Firefox 40. Other browsers tested good too. :+1:

avatar Bakual
Bakual - comment - 13 Aug 2015

Why do you just comment the line? Just remove it completely instead. And also remove the related comment on the line above.

avatar infograf768
infograf768 - comment - 13 Aug 2015

Works OK here.
screen shot 2015-08-13 at 16 39 25

Just curious: what is necessary to add in the html module to get the nice chosen style?

avatar infograf768 infograf768 - alter_testresult - 13 Aug 2015 - justinherrin: Tested successfully
avatar infograf768 infograf768 - alter_testresult - 13 Aug 2015 - infograf768: Tested successfully
avatar infograf768 infograf768 - change - 13 Aug 2015
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 13 Aug 2015

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7689.

avatar joomla-cms-bot joomla-cms-bot - change - 13 Aug 2015
Labels Added: ?
avatar dgt41
dgt41 - comment - 13 Aug 2015

@infograf768 you have to add

JHtml::_('formbehavior.chosen', 'select');

in order to load the script and set the appropriate selector (e.g. select).

avatar infograf768
infograf768 - comment - 13 Aug 2015

Was trying to do that with sourcerer, but did not work. Had to add it in template index.php

avatar zero-24 zero-24 - change - 13 Aug 2015
Milestone Added:
avatar zero-24 zero-24 - change - 16 Aug 2015
Category Front End
avatar Kubik-Rubik Kubik-Rubik - change - 16 Aug 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-08-16 19:35:54
Closed_By Kubik-Rubik
avatar Kubik-Rubik Kubik-Rubik - close - 16 Aug 2015
avatar joomla-cms-bot joomla-cms-bot - close - 16 Aug 2015
avatar Kubik-Rubik Kubik-Rubik - reference | 9ebbb79 - 16 Aug 15
avatar Kubik-Rubik Kubik-Rubik - merge - 16 Aug 2015
avatar Kubik-Rubik Kubik-Rubik - close - 16 Aug 2015
avatar joomla-cms-bot joomla-cms-bot - change - 16 Aug 2015
Labels Removed: ?
avatar Kubik-Rubik
Kubik-Rubik - comment - 16 Aug 2015

Thank you @dgt41. Merged!

avatar dgt41 dgt41 - head_ref_deleted - 17 Aug 2015

Add a Comment

Login with GitHub to post a comment