Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Update AdminModuleMenu.php
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienBreux committed Feb 23, 2013
1 parent a31fd88 commit 77a75b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AdminModuleMenu.php
Expand Up @@ -485,7 +485,7 @@ private function _displayItemAdd() {
foreach ($languages as $language) {
$this->_html .= '
<div id="title_'.$language['id_lang'].'" style="display: '.($language['id_lang'] == $defaultLanguage ? 'block' : 'none').'; float: left;">
<input type="text" name="title['.$language['id_lang'].']" value="' . (!is_null($menu->id) ? $menu->title[$language['id_lang']] : '') .
<input type="text" name="title_'.$language['id_lang'].'" value="' . (!is_null($menu->id) ? $menu->title[$language['id_lang']] : '') .
'" class="'.($language['id_lang'] != $defaultLanguage ? 'clone' : 'cloneParent').'" /><sup class="case case_link hide"> *</sup>
</div>';
}
Expand Down

3 comments on commit 77a75b0

@hungnguyenpl83
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I using jbx_menu 2.8.6, but not save title, help me?

@CristianDragos
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's a temporary fix: #8 (comment)

@megamurmulis
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing:

LINE: 488
"title[..]" to
"title_[..]"

renders it not getting title field value on PS 1.4.x, since this line uses name without underscore:

LINE: 94
$title = Tools::getValue('title');

Please sign in to comment.