only need to translate bootbox's footer

v1.18.x
psychobunny 10 years ago
parent 29859335a8
commit 7210ffdde9

@ -136,8 +136,9 @@ app.cacheBuster = null;
confirm = bootbox.confirm; confirm = bootbox.confirm;
function translate(modal) { function translate(modal) {
translator.translate(modal.html(), function(html) { var footer = modal.find('.modal-footer');
modal.html(html); translator.translate(footer.html(), function(html) {
footer.html(html);
}); });
} }

Loading…
Cancel
Save