|
|
@ -377,15 +377,18 @@ define('forum/topic/postTools', ['share', 'navigator', 'components', 'translator
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
templates.parse('partials/modals/votes_modal', data, function(html) {
|
|
|
|
templates.parse('partials/modals/votes_modal', data, function(html) {
|
|
|
|
var dialog = bootbox.dialog({
|
|
|
|
translator.translate(html, function(translated) {
|
|
|
|
title: 'Voters',
|
|
|
|
var dialog = bootbox.dialog({
|
|
|
|
message: html,
|
|
|
|
title: 'Voters',
|
|
|
|
className: 'vote-modal',
|
|
|
|
message: translated,
|
|
|
|
show: true
|
|
|
|
className: 'vote-modal',
|
|
|
|
});
|
|
|
|
show: true
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dialog.on('click', function() {
|
|
|
|
|
|
|
|
dialog.modal('hide');
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
dialog.on('click', function() {
|
|
|
|
|
|
|
|
dialog.modal('hide');
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|