This commit is contained in:
parent
65845c6c6e
commit
52d3387c6a
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -137,7 +137,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -213,7 +213,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"description": "Confirmation before deleting a style"
|
||||
},
|
||||
"confirmOK": {
|
||||
"message": "OK"
|
||||
"message": "Delete"
|
||||
},
|
||||
"confirmCancel": {
|
||||
"message": "Cancel"
|
||||
|
|
|
@ -254,6 +254,12 @@ body>div:not(#installed) {
|
|||
flex: 1;
|
||||
padding: 0 10px;
|
||||
}
|
||||
#confirm>div>b {
|
||||
padding: 10px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
#confirm>div>div {
|
||||
padding: 10px;
|
||||
direction: rtl;
|
||||
|
|
|
@ -70,6 +70,7 @@
|
|||
<!-- confirm -->
|
||||
<div id="confirm">
|
||||
<div>
|
||||
<b>Style's Name</b>
|
||||
<span i18n-text="deleteStyleConfirm"></span>
|
||||
<div>
|
||||
<input type="button" i18n-value="confirmOK" data-cmd="ok">
|
||||
|
|
2
popup.js
2
popup.js
|
@ -118,6 +118,8 @@ function enable(event, enabled) {
|
|||
function doDelete() {
|
||||
document.getElementById('confirm').dataset.display = true;
|
||||
let id = getId(event);
|
||||
document.querySelector('#confirm b').textContent =
|
||||
document.querySelector(`[style-id="${id}"] label`).textContent;
|
||||
document.getElementById('confirm').dataset.id = id;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user