Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Issue #11492: Answer Lists (DropDowns) disappeared from all my …
…surveys
- Loading branch information
markusfluer
committed
Jul 26, 2016
1 parent
222f4fc
commit a4c08ec
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a4c08ec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All this javascript only to hide "answer part" of boilerplate question ? And empty help question ?
Really ?
And hre : if you want to do it in JS : template.js please. Not a core issue.
a4c08ec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to different class names at different templates (custom templates may use different names and/or additional JS code) I recommend to better change this directly at the PHP code which creates the question HTML for that question type.
Should be qanda_helper.php.
a4c08ec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NO ! it must be in template .... if you put it in PHP : it use the default template class name ....