FIX Properly show link for showing and hiding class spec in model admin

This commit is contained in:
jean 2013-01-15 18:52:05 +13:00
parent 317495f8ef
commit 420c639e7b

View File

@ -19,9 +19,9 @@
*/ */
$('.importSpec').entwine({ $('.importSpec').entwine({
onmatch: function() { onmatch: function() {
this.hide(); this.find('div.details').hide();
this.find('a.detailsLink').click(function() { this.find('a.detailsLink').click(function() {
$('#' + $(this).attr('href').replace(/.*#/,'')).toggle(); $('#' + $(this).attr('href').replace(/.*#/,'')).slideToggle();
return false; return false;
}); });