BUGFIX Don't link to views in CMS tabs, use data-href instead to avoid jQuery.tabs() interfering with its own ajax load magic (specifically fixes a problem where admin/pages/edit/99 was detected as different from admin/pages/edit/99/?locale=de_DE)

This commit is contained in:
Ingo Schommer 2012-05-15 21:32:03 +02:00
parent c185c737dd
commit b9cae47135

View File

@ -10,17 +10,17 @@
<div class="cms-content-header-tabs">
<ul>
<li class="content-treeview<% if class == 'CMSPageEditController' %> ui-state-selected<% end_if %>">
<a href="$LinkPageEdit" class="cms-panel-link" title="Form_EditForm">
<a href="#dummy" class="cms-panel-link" title="Form_EditForm" data-href="$LinkPageEdit">
<% _t('CMSMain.TabContent', 'Content') %>
</a>
</li>
<li class="content-listview<% if class == 'CMSPageSettingsController' %> ui-state-selected<% end_if %>">
<a href="$LinkPageSettings" class="cms-panel-link" title="Form_EditForm">
<a href="#dummy" class="cms-panel-link" title="Form_EditForm" data-href="$LinkPageSettings">
<% _t('CMSMain.TabSettings', 'Settings') %>
</a>
</li>
<li class="content-listview<% if class == 'CMSPageHistoryController' %> ui-state-selected<% end_if %>">
<a href="$LinkPageHistory" class="cms-panel-link" title="Form_EditForm">
<a href="#dummy" class="cms-panel-link" title="Form_EditForm" data-href="$LinkPageHistory">
<% _t('CMSMain.TabHistory', 'History') %>
</a>
</li>