mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-03-12 13:31:14 +00:00
fix confirm_terminate_daemon popup text to be polygloted when showing
This commit is contained in:
parent
d0098f9f3e
commit
88c3f6f6ef
@ -304,7 +304,7 @@ function interfaceNetworkHandlers() {
|
|||||||
function (e) {e.stopPropagation(); $(this).addClass('open'); usePostSpliting = false;});
|
function (e) {e.stopPropagation(); $(this).addClass('open'); usePostSpliting = false;});
|
||||||
$('.post-submit.update-spam-msg').off('click').on('click', setSpamMsg);
|
$('.post-submit.update-spam-msg').off('click').on('click', setSpamMsg);
|
||||||
$('.terminate-daemon').on('click',
|
$('.terminate-daemon').on('click',
|
||||||
{txtMessage: polyglot.t('confirm_terminate_daemon'), cbConfirm: exitDaemon}, confirmPopup);
|
{txtMessage: {polyglot: 'confirm_terminate_daemon'}, cbConfirm: exitDaemon}, confirmPopup);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user