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

This commit is contained in:
tDidierjean
2012-01-17 15:17:09 +00:00
parent d0992b1604
commit 0c9657abc2
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;