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,
|
modal: true,
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
id : yesButton,
|
id : 'yesButton_' + code,
|
||||||
text : yesButton,
|
text : yesButton,
|
||||||
click : function() {
|
click : function() {
|
||||||
if (action == "set") {
|
if (action == "set") {
|
||||||
@ -749,7 +749,7 @@ function confirmConstantAction(action, url, code, input, box, entity, yesButton,
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : noButton,
|
id : 'noButton_' + code,
|
||||||
text : noButton,
|
text : noButton,
|
||||||
click : function() {
|
click : function() {
|
||||||
$(this).dialog("close");
|
$(this).dialog("close");
|
||||||
@ -759,7 +759,7 @@ function confirmConstantAction(action, url, code, input, box, entity, yesButton,
|
|||||||
});
|
});
|
||||||
// For information dialog box only, hide the noButton
|
// For information dialog box only, hide the noButton
|
||||||
if (boxConfirm.info) {
|
if (boxConfirm.info) {
|
||||||
$("#" + noButton).button().hide();
|
$("#noButton_" + code).button().hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user