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:
Ingo Schommer 2013-01-15 04:00:35 -08:00
commit dadd9e1b98

View File

@ -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;
});