[-] BO : #PSTEST-248 - ergonomy in Product (pack) edition

This commit is contained in:
mMarinetti committed 2012-01-04 15:08:57 +00:00
1 parent cbfaebec91
commit bec58b5a32
3 files changed
+45 -12

No files matched your search

+5 -1
View File
@@ -302,13 +302,17 @@ function disableSave()
}
/**
* hide save and save-and-stay buttons
* show save and save-and-stay buttons
*
* @access public
* @return void
*/
function enableSave()
{
// if no item left in the pack, disable save buttons
if ($("#disablePackMessage").length)
$("#disablePackMessage").remove();
$('#desc-product-save').show();
$('#desc-product-save-and-stay').show();
}