mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Properly show link for showing and hiding class spec in model admin
This commit is contained in:
parent
317495f8ef
commit
420c639e7b
@ -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