// AdminController and stock management : some debug and updates

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10520 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dSevere committed 2011-11-23 13:15:40 +00:00
1 parent 27e910572c
commit ad6e5b1cb8
5 files changed
+57 -122

No files matched your search

@@ -88,7 +88,7 @@ $(document).ready(function() {
}
});
content.append($('<td class="empty"></td>'));
$('#details_{$id}').parent().parent().after(content);
$('#details_{$id}').parent().parent().after(content.show('slow'));
});
}
else
@@ -98,7 +98,7 @@ $(document).ready(function() {
else
var content = $('<tr class="details_{$id}"></tr>');
content.append($('<td style="border:none!important;">'+data.data+'</td>').attr('colspan', $('#details_{$id}').parent().parent().find('td').length));
$('#details_{$id}').parent().parent().after(content);
$('#details_{$id}').parent().parent().after(content.show('slow'));
}
this.dataMaped = true;
this.opened = false;
@@ -110,13 +110,13 @@ $(document).ready(function() {
if (this.opened)
{
$(this).find('img').attr('src', '../img/admin/more.png');
$(this).parent().parent().parent().find('.details_{$id}').hide();
$(this).parent().parent().parent().find('.details_{$id}').hide('slow');
this.opened = false
}
else
{
$(this).find('img').attr('src', '../img/admin/less.png');
$(this).parent().parent().parent().find('.details_{$id}').show();
$(this).parent().parent().parent().find('.details_{$id}').show('slow');
this.opened = true;
}
return false;