?
Related to # 5451
avatar bassmanpaul
bassmanpaul
16 Dec 2014

Steps to reproduce the issue

libraries/joomla/form/fields/combo.php line 45

Incorrect

' class=combobox"' . $this->class . '"'

Correct

' class="combobox' . $this->class . '"'
(notice 1st double quote)

System information

  • Joomla 3.0 - Correct,
  • Joomla 3.1 - Correct,
  • Joomla 3.2 - Incorrect,
  • Joomla 3.3 - Incorrect.

Additional comments

Obviously the late double quote can potentially cause all kinds of broken HTML problems. Some browser examples I've encountered:

<input type="text" autocomplete="off" btn-group-yesno"="" class="combobox&quot;btn-group" value="1">
<input type="text" autocomplete="off" class="combobox&quot;form-control&quot;" value="">

avatar bassmanpaul bassmanpaul - open - 16 Dec 2014
avatar bassmanpaul bassmanpaul - change - 16 Dec 2014
The description was changed
avatar bassmanpaul bassmanpaul - change - 16 Dec 2014
The description was changed
avatar Bakual
Bakual - comment - 16 Dec 2014

Since you know what to change, can you create a Pull Request?
https://docs.joomla.org/Using_the_Github_UI_to_Make_Pull_Requests explains how you can do that using the GitHub UI.

avatar bassmanpaul
bassmanpaul - comment - 17 Dec 2014

Done:

#5451


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5443.
avatar brianteeman brianteeman - change - 17 Dec 2014
Status New Closed
Rel_Number 5451
Relation Type Related to
avatar zero-24 zero-24 - close - 17 Dec 2014
avatar brianteeman brianteeman - change - 17 Dec 2014
Closed_Date 0000-00-00 00:00:00 2014-12-17 08:48:16
avatar brianteeman brianteeman - close - 17 Dec 2014
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment