Skip to content

Commit

Permalink
fix(description): cannot apply hide/show condition on descriptions
Browse files Browse the repository at this point in the history
Signed-off-by: Tobbi Filteau <t.filteau@synairgis.com>
Signed-off-by: btry <tbugier@teclib.com>
  • Loading branch information
Tobbi Filteau authored and btry committed May 10, 2018
1 parent 9cab4f0 commit 8693a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/fields/descriptionfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
class PluginFormcreatorDescriptionField extends PluginFormcreatorField
{
public function show($canEdit = true) {
echo '<div class="description_field form-group" id="form-group-field' . $this->fields['id'] . '">';
echo '<div class="description_field form-group" id="form-group-formcreator_field_' . $this->fields['id'] . '">';
echo nl2br(html_entity_decode($this->fields['description']));
echo '</div>' . PHP_EOL;
echo Html::scriptBlock('$(function() {
Expand Down

0 comments on commit 8693a6a

Please sign in to comment.