Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Chosen.js for the rule field, again #12877

Merged
merged 2 commits into from
Dec 10, 2016

Conversation

Fedik
Copy link
Member

@Fedik Fedik commented Nov 13, 2016

Pull Request for Issue #12843 .

Summary of Changes

Revert the check for instance type of data-chosen, to allow to disable Chosen for field with data-chosen="true"

Testing Instructions

Make sure that the rule field use simple <select> input (without Chosen stylling),
and all icons "ok/loading/error" are visible again when try to change the rule value

Documentation Changes Required

none

@ralain
Copy link
Contributor

ralain commented Nov 20, 2016

I have tested this item ✅ successfully on c4fe40a

After patch is applied and browser cache cleared chosen is gone from ACL rule selects and icons are back.


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

@dgrammatiko
Copy link
Contributor

I have tested this item ✅ successfully on c4fe40a


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

@dgrammatiko
Copy link
Contributor

RTC

NOTE to whomever merge this: please ping me!

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Nov 20, 2016
@wilsonge
Copy link
Contributor

Is the only way to achieve this really with more hacks to chosen :(

@Fedik
Copy link
Member Author

Fedik commented Nov 21, 2016

unfortunately,
Correct way would be apply Chosen only to "specific" <select> with specific class, eg "advancedSelect", instead of apply Chosen to all <select> on the page,

but for now it sounds like utopia 😉

@zero-24 zero-24 added this to the Joomla 3.7.0 milestone Nov 25, 2016
@rdeutz
Copy link
Contributor

rdeutz commented Dec 6, 2016

@Fedik could you please remove the commented code 598-602, thanks

@rdeutz
Copy link
Contributor

rdeutz commented Dec 7, 2016

seems comment are the common practice, could you them please add the reason why this change was made, thanks

@Fedik
Copy link
Member Author

Fedik commented Dec 7, 2016

@rdeutz ok, I will add

@Fedik
Copy link
Member Author

Fedik commented Dec 10, 2016

@rdeutz added

@rdeutz rdeutz merged commit f621f08 into joomla:staging Dec 10, 2016
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Dec 10, 2016
@rdeutz
Copy link
Contributor

rdeutz commented Dec 10, 2016

@Fedik Thanks, merged

@Fedik Fedik deleted the chosen-disable-for-rulefield branch December 10, 2016 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants