Browse Source

fix confirm_terminate_daemon popup text to be polygloted when showing

readme-update
Simon Grim 9 years ago
parent
commit
88c3f6f6ef
  1. 2
      js/twister_network.js

2
js/twister_network.js

@ -304,7 +304,7 @@ function interfaceNetworkHandlers() { @@ -304,7 +304,7 @@ function interfaceNetworkHandlers() {
function (e) {e.stopPropagation(); $(this).addClass('open'); usePostSpliting = false;});
$('.post-submit.update-spam-msg').off('click').on('click', setSpamMsg);
$('.terminate-daemon').on('click',
{txtMessage: polyglot.t('confirm_terminate_daemon'), cbConfirm: exitDaemon}, confirmPopup);
{txtMessage: {polyglot: 'confirm_terminate_daemon'}, cbConfirm: exitDaemon}, confirmPopup);
}

Loading…
Cancel
Save