Jeremy Schomery 2017-03-13 17:11:01 +03:30
parent 65845c6c6e
commit 52d3387c6a
24 changed files with 30 additions and 21 deletions

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -137,7 +137,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -213,7 +213,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -169,7 +169,7 @@
"description": "Confirmation before deleting a style"
},
"confirmOK": {
"message": "OK"
"message": "Delete"
},
"confirmCancel": {
"message": "Cancel"

View File

@ -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;

View File

@ -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">

View File

@ -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;
}