mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #1098 from patbolo/fix/model-admin-spec
FIX #8188 Properly show link for showing and hiding class spec in model admin
This commit is contained in:
commit
dadd9e1b98
@ -19,9 +19,9 @@
|
||||
*/
|
||||
$('.importSpec').entwine({
|
||||
onmatch: function() {
|
||||
this.hide();
|
||||
this.find('div.details').hide();
|
||||
this.find('a.detailsLink').click(function() {
|
||||
$('#' + $(this).attr('href').replace(/.*#/,'')).toggle();
|
||||
$('#' + $(this).attr('href').replace(/.*#/,'')).slideToggle();
|
||||
return false;
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user