@ogerly said:
So the tool is running.
following error, I've found.
the poll will be created.
when you save the text is not new reloaded.
Here are the screenshots
[image: Le3gLgx.png]
[image: Le3gLgx.png]
Yes.. This is an error with nodeBB 0.7.2.
On @exodo, we have fixed it, just change the file public/js/poll/main.js with this code:
(function() {
window.Poll = {
load: function(data) {
$(window).one('action:ajaxify.contentLoaded', function () {
Poll.sockets.emit.load(data, function(err, poll) {
if (!err) {
Poll.view.init(poll, function(pollView) {
if (parseInt(poll.info.deleted, 10) === 1 || parseInt(poll.info.ended, 10) === 1) {
Poll.view.showMessage({
title: 'Voting unavailable',
content: 'This poll has ended or has been marked as deleted. You can still view the results.'
}, pollView);
}
});
} else if (err.message != 'Not logged in') {
app.alertError('Something went wrong while getting the poll!');
}
});
});
}
};
})();
Really, the change is only in the line:
Poll.sockets.emit.load(data, function(err, poll) {
And then, change the file templates/poll/notify.tpl with:
<script>Poll.load({pollid})</script>
After that, It should work well