Skip to content

Commit

Permalink
Non unique ID error #5939
Browse files Browse the repository at this point in the history
  • Loading branch information
xillibit committed May 21, 2018
1 parent 41e2df1 commit 0e3dd25
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Expand Up @@ -202,15 +202,15 @@ class="btn btn-link">
endif; ?>
</div>

<form action="<?php echo KunenaRoute::_('index.php?option=com_kunena'); ?>" method="post" id="status-form"
<form action="<?php echo KunenaRoute::_('index.php?option=com_kunena'); ?>" method="post" id="status-text-form"
class="form-inline">
<?php echo $this->subLayout('Widget/Modal')
->set('id', 'statusTextModal')
->set('name', 'status_text')
->set('label', JText::_('COM_KUNENA_STATUS_MESSAGE'))
->set('description', JText::_('COM_KUNENA_STATUS_TYP'))
->set('data', $this->me->status_text)
->set('form', 'status-form'); ?>
->set('form', 'status-text-form'); ?>
<input type="hidden" name="view" value="user"/>
<input type="hidden" name="task" value="statustext"/>
<?php echo HTMLHelper::_('form.token'); ?>
Expand All @@ -222,7 +222,7 @@ class="form-inline">
});

$("btn_statustext") .click(function() {
$("#status-form").submit();
$("#status-text-form").submit();
});
});
</script>
Expand Up @@ -201,15 +201,15 @@ class="btn btn-link">
*/
?>
</div>
<form action="<?php echo KunenaRoute::_('index.php?option=com_kunena'); ?>" method="post" id="status-form"
<form action="<?php echo KunenaRoute::_('index.php?option=com_kunena'); ?>" method="post" id="status-text-form"
class="form-inline">
<?php echo $this->subLayout('Widget/Modal')
->set('id', 'statusTextModal')
->set('name', 'status_text')
->set('label', JText::_('COM_KUNENA_STATUS_MESSAGE'))
->set('description', JText::_('COM_KUNENA_STATUS_TYP'))
->set('data', $this->me->status_text)
->set('form', 'status-form'); ?>
->set('form', 'status-text-form'); ?>
<input type="hidden" name="view" value="user"/>
<input type="hidden" name="task" value="statustext"/>
<?php echo HTMLHelper::_('form.token'); ?>
Expand All @@ -221,7 +221,7 @@ class="form-inline">
});

$("btn_statustext") .click(function() {
$("#status-form").submit();
$("#status-text-form").submit();
});
});
</script>

0 comments on commit 0e3dd25

Please sign in to comment.