bug in warning dialog always dire
This commit is contained in:
@@ -100,7 +100,8 @@ export default {
|
|||||||
return VM_LOCAL.$root.$gzconfirm({
|
return VM_LOCAL.$root.$gzconfirm({
|
||||||
message: window.$gz.translation.get("DeletePrompt"),
|
message: window.$gz.translation.get("DeletePrompt"),
|
||||||
yesButtonText: window.$gz.translation.get("Delete"),
|
yesButtonText: window.$gz.translation.get("Delete"),
|
||||||
noButtonText: window.$gz.translation.get("Cancel")
|
noButtonText: window.$gz.translation.get("Cancel"),
|
||||||
|
type: "warning"
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
/////////////////////////////////////
|
/////////////////////////////////////
|
||||||
@@ -110,7 +111,8 @@ export default {
|
|||||||
return VM_LOCAL.$root.$gzconfirm({
|
return VM_LOCAL.$root.$gzconfirm({
|
||||||
message: window.$gz.translation.get("AreYouSureUnsavedChanges"),
|
message: window.$gz.translation.get("AreYouSureUnsavedChanges"),
|
||||||
yesButtonText: window.$gz.translation.get("Leave"),
|
yesButtonText: window.$gz.translation.get("Leave"),
|
||||||
noButtonText: window.$gz.translation.get("Cancel")
|
noButtonText: window.$gz.translation.get("Cancel"),
|
||||||
|
type: "warning"
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
/////////////////////////////////////
|
/////////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user