mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Warn a user when removing a speed dial
This commit is contained in:
parent
4997ce7f29
commit
af9f43efb0
@ -284,6 +284,7 @@ function setBoxTitle(id, title) {
|
||||
}
|
||||
|
||||
function removeBox(id) {
|
||||
if (confirm("%TITLE-WARN%"))
|
||||
var box = document.getElementById('quickdial').getElementsByTagName('div')[id];
|
||||
if (box === undefined)
|
||||
return;
|
||||
|
@ -262,6 +262,7 @@ QString QupZillaSchemeReply::speeddialPage()
|
||||
dPage.replace("%TITLE-EDIT%", tr("Edit"));
|
||||
dPage.replace("%TITLE-REMOVE%", tr("Remove"));
|
||||
dPage.replace("%TITLE-RELOAD%", tr("Reload"));
|
||||
dPage.replace("%TITLE-WARN%", tr("Are you sure to remove this speed dial?"));
|
||||
dPage.replace("%TITLE-FETCHTITLE%", tr("Load title from page"));
|
||||
dPage.replace("%JQUERY%", "qrc:html/jquery.js");
|
||||
dPage.replace("%JQUERY-UI%", "qrc:html/jquery-ui.js");
|
||||
|
Loading…
Reference in New Issue
Block a user