Skip to content

Commit

Permalink
Update edit.php
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepereiradasilva committed Aug 30, 2016
1 parent 774248d commit f6858c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions administrator/components/com_menus/views/item/tmpl/edit.php
Expand Up @@ -61,6 +61,7 @@
{
Joomla.submitform(task, document.getElementById('item-form'));
// @deprecated 4.0 The following js is not needed since __DEPLOY_VERSION__.
if (task !== 'item.apply')
{
window.parent.jQuery('#menuEdit" . (int) $this->item->id . "Modal').modal('hide');
Expand Down Expand Up @@ -174,6 +175,7 @@
</div>

<input type="hidden" name="task" value="" />
<input type="hidden" name="forcedLanguage" value="<?php echo $input->get('forcedLanguage', '', 'cmd'); ?>" />
<?php echo $this->form->getInput('component_id'); ?>
<?php echo JHtml::_('form.token'); ?>
<input type="hidden" id="fieldtype" name="fieldtype" value="" />
Expand Down

0 comments on commit f6858c4

Please sign in to comment.