? Success

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
16 Sep 2015

Summary of changes:

  • Adds a placeholder to the <input> element with the default search value
  • Removes JavaScript to "fake" this placeholder
  • Always renders the input's label and applies the element-invisible class if the label is hidden (same class is in use, and hardcoded in fact, in the mod_search layout)
  • Change call to JHtml::stylesheet() to use the JHtml::_() method

Test Instructions:

Make sure the module still functions correctly (layout as designed, label has the element-invisible class if supposed to be hidden, autocompletion still works)

avatar mbabker mbabker - open - 16 Sep 2015
avatar mbabker mbabker - change - 16 Sep 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Sep 2015
Labels Added: ?
avatar wilsonge
wilsonge - comment - 17 Sep 2015

As techincally we are supporting IE8 which doesn't have placeholder support I guess we should load HTML5 Shiv now?

avatar mbabker
mbabker - comment - 17 Sep 2015

The templates load it, we don't have a JHtml endpoint for it.

avatar wilsonge
wilsonge - comment - 17 Sep 2015

Oh ok my bad :)

avatar zero-24 zero-24 - change - 17 Sep 2015
Easy No Yes
avatar zero-24 zero-24 - change - 17 Sep 2015
Category Modules
avatar widmann-it
widmann-it - comment - 24 Oct 2015

Does not work under Win 10 / MS browser Edge
page is displayed in white

avatar svom svom - test_item - 24 Oct 2015 - Tested successfully
avatar svom
svom - comment - 24 Oct 2015

I have tested this item :white_check_mark: successfully on 502a1f2

Tested successfully.

Joomla 3.4.5
Chrome
Safari
Firefox


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

avatar chmst
chmst - comment - 24 Oct 2015

@test successful in 3.4.5 (win10)


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

avatar chmst
chmst - comment - 24 Oct 2015

additional info: Win 10 / MS browser Edge and Firefox


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

avatar KlausKrippeit KlausKrippeit - test_item - 24 Oct 2015 - Tested successfully
avatar KlausKrippeit
KlausKrippeit - comment - 24 Oct 2015

I have tested this item :white_check_mark: successfully on 502a1f2

@text successfully testet.
I missing the possibility to change the placeholder value in backend.


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

avatar zero-24 zero-24 - change - 24 Oct 2015
Milestone Added:
avatar zero-24 zero-24 - change - 24 Oct 2015
Milestone Added:
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 24 Oct 2015

RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 24 Oct 2015
Labels Added: ?
avatar Kubik-Rubik
Kubik-Rubik - comment - 24 Oct 2015

Thank you @mbabker and testers! Merged.

avatar Kubik-Rubik Kubik-Rubik - reference | 0104133 - 24 Oct 15
avatar Kubik-Rubik Kubik-Rubik - merge - 24 Oct 2015
avatar Kubik-Rubik Kubik-Rubik - close - 24 Oct 2015
avatar Kubik-Rubik Kubik-Rubik - change - 24 Oct 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-10-24 13:30:31
Closed_By Kubik-Rubik
avatar Kubik-Rubik Kubik-Rubik - close - 24 Oct 2015
avatar joomla-cms-bot joomla-cms-bot - close - 24 Oct 2015
avatar joomla-cms-bot joomla-cms-bot - change - 24 Oct 2015
Labels Removed: ?
avatar mbabker mbabker - head_ref_deleted - 24 Oct 2015
avatar mbabker
mbabker - comment - 24 Oct 2015

@KlausKrippeit You can change it as a language override, the placeholder uses the MOD_FINDER_SEARCH_VALUE key. Unfortunately because of how some of the internal JavaScript is coded it isn't practical to add an option to the module to change it right now.

avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone Added:
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone Added:
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone

Add a Comment

Login with GitHub to post a comment