// AdminProducts informations fix, saveAndStay fix,
[+] BO : if json, ajax-layout.tpl can generate json with conf, _errors, warnings, informations and page var // HelpAccess improvement // now Product does not require quantity anymore
This commit is contained in:
@@ -122,6 +122,29 @@
|
||||
});
|
||||
return false;
|
||||
});
|
||||
if($('.help-context'))
|
||||
{
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: 'index.php',
|
||||
data: {
|
||||
'ajax' : '1',
|
||||
'action' : 'helpAccess',
|
||||
'item' : '{$class_name}',
|
||||
'isoUser' : '{$iso_user}',
|
||||
'country' : '{$country_iso_code}',
|
||||
'version' : '{$smarty.const._PS_VERSION_}'
|
||||
},
|
||||
async : true,
|
||||
success: function(msg) {
|
||||
if(msg.status == 'ok' && msg.content != 'none')
|
||||
{
|
||||
$(".help-context").html(msg.content);
|
||||
$(".help-context").fadeIn("slow").show();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user