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

This commit is contained in:
mMarinetti
2012-01-04 15:08:57 +00:00
parent b90c4b6a45
commit da65db4318
3 changed files with 45 additions and 12 deletions
+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();
}