|
The problem is the same as the related issue 0013989 since the HTML generated in the toolbar is different in 2.50 and the new layout.
HTML in 2.50 LeftBar
<a id="buttonEdition" onclick="submitCommandForm('EDIT', true, null, 'Module_Relation.html', '_self', null, false);return false;" href="#" class="Main_LeftTabsBar_ButtonRight">
<img border="0" src="../web/images/blank.gif" title="Form View" alt="Form View" class="Main_LeftTabsBar_ButtonRight_Icon Main_LeftTabsBar_ButtonRight_Icon_edition">
</a>
<a id="buttonRelation" onclick="submitCommandForm('RELATION', isUserChanges, null, 'Module_Relation.html', '_self', null, true);return false;" href="#" class="Main_LeftTabsBar_ButtonRight">
<img border="0" src="../web/images/blank.gif" title="Grid View" alt="Grid View" class="Main_LeftTabsBar_ButtonRight_Icon Main_LeftTabsBar_ButtonRight_Icon_relation">
</a>
----
HTML generated in the Toolbar
<a id="linkButtonEdition" onblur="this.hideFocus=false" onclick="return false;" onmouseout="window.status='';return true;" onmouseover="window.status='Form View';return true;" class="Main_ToolBar_Button_Selected" href="#"><img border="0" id="buttonEdition" title="Form View" src="../web/images/blank.gif" class="Main_ToolBar_Button_Icon Main_ToolBar_Button_Icon_Edition"></a>
<a id="linkButtonRelation" onblur="this.hideFocus=false" onclick="submitCommandForm('RELATION', isUserChanges, null, 'Module_Relation.html', '_self', null, true);return false;" onmouseout="window.status='';return true;" onmouseover="window.status='Grid View';return true;" class="Main_ToolBar_Button" href="#"><img border="0" id="buttonRelation" title="Grid View" src="../web/images/blank.gif" class="Main_ToolBar_Button_Icon Main_ToolBar_Button_Icon_Relation"></a>
Proposed solution is to 'hack' the Toolbar and remove the *link* part of the id when is ButtonRelation and ButtonEdition |
|