Fix: use specific code for avoid conflict
This commit is contained in:
parent
ffbeb38747
commit
3005a4f7cf
@ -729,7 +729,7 @@ function confirmConstantAction(action, url, code, input, box, entity, yesButton,
|
||||
modal: true,
|
||||
buttons: [
|
||||
{
|
||||
id : yesButton,
|
||||
id : 'yesButton_' + code,
|
||||
text : yesButton,
|
||||
click : function() {
|
||||
if (action == "set") {
|
||||
@ -749,7 +749,7 @@ function confirmConstantAction(action, url, code, input, box, entity, yesButton,
|
||||
}
|
||||
},
|
||||
{
|
||||
id : noButton,
|
||||
id : 'noButton_' + code,
|
||||
text : noButton,
|
||||
click : function() {
|
||||
$(this).dialog("close");
|
||||
@ -759,7 +759,7 @@ function confirmConstantAction(action, url, code, input, box, entity, yesButton,
|
||||
});
|
||||
// For information dialog box only, hide the noButton
|
||||
if (boxConfirm.info) {
|
||||
$("#" + noButton).button().hide();
|
||||
$("#noButton_" + code).button().hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user