poll widget: Clear input after adding an option.

This commit is contained in:
Steve Howell
2018-05-31 00:17:25 +00:00
committed by Tim Abbott
parent f1877d8fdb
commit c0a9eb19fd

View File

@@ -132,6 +132,8 @@ exports.activate = function (opts) {
return;
}
elem.find(".poll-comment").val('').focus();
var data = poll_data.handle.new_comment.outbound(comment);
callback(data);
});