mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
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:
parent
c185c737dd
commit
b9cae47135
@ -10,17 +10,17 @@
|
|||||||
<div class="cms-content-header-tabs">
|
<div class="cms-content-header-tabs">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="content-treeview<% if class == 'CMSPageEditController' %> ui-state-selected<% end_if %>">
|
<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') %>
|
<% _t('CMSMain.TabContent', 'Content') %>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="content-listview<% if class == 'CMSPageSettingsController' %> ui-state-selected<% end_if %>">
|
<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') %>
|
<% _t('CMSMain.TabSettings', 'Settings') %>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="content-listview<% if class == 'CMSPageHistoryController' %> ui-state-selected<% end_if %>">
|
<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') %>
|
<% _t('CMSMain.TabHistory', 'History') %>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user