// Merge -> revision 8076
This commit is contained in:
@@ -1583,12 +1583,17 @@ class AdminProducts extends AdminTab
|
||||
{
|
||||
echo ' if (toload[id]) {
|
||||
toload[id] = false;
|
||||
$.post(
|
||||
"'.dirname(self::$currentIndex).'/ajax.php", {
|
||||
|
||||
$.ajax({
|
||||
url: "'.dirname(self::$currentIndex).'/ajax.php",
|
||||
data: {
|
||||
ajaxProductTab: id, id_product: '.$obj->id.',
|
||||
token: \''.Tools::getValue('token').'\',
|
||||
id_category: '.(int)(Tools::getValue('id_category')).'},
|
||||
function(rep) {
|
||||
id_category: '.(int)(Tools::getValue('id_category')).'
|
||||
},
|
||||
cache: false,
|
||||
type: \'POST\',
|
||||
success: function(rep) {
|
||||
$("#step" + id).html(rep);var languages = new Array();
|
||||
if (id == 3)
|
||||
populate_attrs();
|
||||
@@ -1607,7 +1612,7 @@ class AdminProducts extends AdminTab
|
||||
});
|
||||
}
|
||||
}
|
||||
)
|
||||
})
|
||||
}';
|
||||
}
|
||||
echo ' }
|
||||
|
||||
Reference in New Issue
Block a user