[-] BO : fix product page display when saving pack

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12484 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-01-17 15:17:09 +00:00
parent 5ab0595f34
commit 0d7ae380c9
4 changed files with 48 additions and 29 deletions
@@ -243,6 +243,7 @@
var tabs_preloaded = new Array();
// Listen to the load event that is fired each time an ajax call to load a tab has completed
$(window).bind("load", function() {
{* Fill an array with tabs that need to be preloaded *}
var tabs_to_preload = new Array();
@@ -155,7 +155,9 @@
function getSelectedIds()
{
var ids = id_product + ',';
var ids = '';
if (typeof(id_product) != 'undefined')
ids += id_product + ',';
ids += $('#inputPackItems').val().replace(/\d*x/g, '').replace(/\-/g,',');
ids = ids.replace(/\,$/,'');
return ids;