2
0
forked from Wavyzz/dolibarr

RESTORE CODE WITH ID D2adaf7. The Merge daacf79 as lost more than 50

commits !
This commit is contained in:
Laurent Destailleur
2012-12-01 15:45:05 +01:00
parent bba1492621
commit 4136c27516
126 changed files with 3301 additions and 3130 deletions

View File

@@ -729,6 +729,7 @@ function confirmConstantAction(action, url, code, input, box, entity, yesButton,
modal: true,
buttons: [
{
id : 'yesButton_' + code,
text : yesButton,
click : function() {
if (action == "set") {
@@ -748,6 +749,7 @@ function confirmConstantAction(action, url, code, input, box, entity, yesButton,
}
},
{
id : 'noButton_' + code,
text : noButton,
click : function() {
$(this).dialog("close");
@@ -755,6 +757,10 @@ function confirmConstantAction(action, url, code, input, box, entity, yesButton,
}
]
});
// For information dialog box only, hide the noButton
if (boxConfirm.info) {
$("#noButton_" + code).button().hide();
}
}
/*