mirror of
https://github.com/OpenNebula/one.git
synced 2025-04-02 10:50:07 +03:00
Sunstone: require confirmation when deleting
This commit is contained in:
parent
6a8032d028
commit
7e1653044f
@ -146,7 +146,7 @@ var acl_buttons = {
|
||||
text: tr("+ New")
|
||||
},
|
||||
"Acl.delete" : {
|
||||
type: "action",
|
||||
type: "confirm",
|
||||
text: tr("Delete")
|
||||
}
|
||||
}
|
||||
|
@ -134,7 +134,7 @@ var group_buttons = {
|
||||
// },
|
||||
|
||||
"Group.delete" : {
|
||||
type: "action",
|
||||
type: "confirm",
|
||||
text: tr("Delete")
|
||||
}
|
||||
};
|
||||
|
@ -273,7 +273,7 @@ var host_buttons = {
|
||||
text: tr("Disable")
|
||||
},
|
||||
"Host.delete" : {
|
||||
type: "action",
|
||||
type: "confirm",
|
||||
text: tr("Delete host")
|
||||
}
|
||||
};
|
||||
|
@ -456,7 +456,7 @@ var image_buttons = {
|
||||
}
|
||||
},
|
||||
"Image.delete" : {
|
||||
type: "action",
|
||||
type: "confirm",
|
||||
text: tr("Delete")
|
||||
}
|
||||
}
|
||||
|
@ -815,7 +815,7 @@ var template_buttons = {
|
||||
}
|
||||
},
|
||||
"Template.delete" : {
|
||||
type: "action",
|
||||
type: "confirm",
|
||||
text: tr("Delete")
|
||||
}
|
||||
}
|
||||
|
@ -282,7 +282,7 @@ var user_buttons = {
|
||||
// condition: True
|
||||
// },
|
||||
"User.delete" : {
|
||||
type: "action",
|
||||
type: "confirm",
|
||||
text: tr("Delete")
|
||||
}
|
||||
}
|
||||
|
@ -401,7 +401,7 @@ var vnet_buttons = {
|
||||
},
|
||||
|
||||
"Network.delete" : {
|
||||
type: "action",
|
||||
type: "confirm",
|
||||
text: tr("Delete")
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user