I have a master \ detail table setup
Im using the DetailPreview extension
Anyway when I click the plus sign to expand the the master and show the records within they are listed as expected and under that table there is the record count and a button
Master / Detail View
I have hidden this based on advice from the forum by putting this code
$(document).ready(function() {
$('[data-phrase="MasterDetailListLink"]').hide();
});
in Client Scripts \ List Page \ Client Script
I have now added a second details link and on that tab I have
Master / Detail View - which I want to hide
So if I insepct the element I have
<button type="button" class="btn btn-default btn-sm" title="" onclick="window.location='boamlist.php?showmaster=duration_lookup&fk_match_id=20'" data-original-title="Possible BOAM Capture"><span data-phrase="MasterDetailListLink" class="icon-table ewIcon" data-caption="Detail List" style="display: none;"></span></button>
so how can I added a version of this
$(document).ready(function() {
$('[data-phrase="MasterDetailListLink"]').hide();
});
in Client Scripts \ List Page \ Client Script
that will effect the second tab ?
Regards
John B