[-] BO : fix bug #PSCFV-2363 - wrong product tabs loaded when the product page is saved and has an error
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15329 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -96,7 +96,11 @@ function ProductTabsManager(){
|
|||||||
// send $_POST array with the request to be able to retrieve posted data if there was an error while saving product
|
// send $_POST array with the request to be able to retrieve posted data if there was an error while saving product
|
||||||
var data;
|
var data;
|
||||||
if (save_error)
|
if (save_error)
|
||||||
|
{
|
||||||
data = post_data;
|
data = post_data;
|
||||||
|
// set key_tab so that the ajax call returns the display for the current tab
|
||||||
|
data.key_tab = tab_name;
|
||||||
|
}
|
||||||
|
|
||||||
return $.ajax({
|
return $.ajax({
|
||||||
url : $('#link-'+tab_name).attr("href")+"&ajax=1",
|
url : $('#link-'+tab_name).attr("href")+"&ajax=1",
|
||||||
|
|||||||
Reference in New Issue
Block a user