Jump to content

nav items bug in admin side


Blesta Addons

Recommended Posts

blesta return a duplicated navs with empty name in the admin side in navs, this can be found in the html output . those items is not shown in the nav link because they have a empty name value, but the dropdown menu has a element that has name (company/settings)

the var is $nav .

<li class="dropdown">
                        <a href="/admin/settings/company/" class="dropdown-toggle" data-toggle="dropdown">
                                                    </a>
                                                <ul class="dropdown-menu">
                                                        <li>
                                <a href="/admin/settings/company/">Company</a>
                            </li>
                                                        <li>
                                <a href="/admin/settings/system/">System</a>
                            </li>
                                                    </ul>
                                            </li>
                                        <li class="dropdown">
                        <a href="/admin/settings/system/" class="dropdown-toggle" data-toggle="dropdown">
                                                    </a>
                                                <ul class="dropdown-menu">
                                                        <li>
                                <a href="/admin/settings/company/">Company</a>
                            </li>
                                                        <li>
                                <a href="/admin/settings/system/">System</a>
                            </li>
                                                    </ul>
                                            </li>

tested in blesta 4 .

Link to comment
Share on other sites

  • Tyson locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...