diff --git a/tfdclerk.js b/tfdclerk.js index fd48592..1714028 100644 --- a/tfdclerk.js +++ b/tfdclerk.js @@ -333,15 +333,18 @@ TFD.prototype._is_merge = function() { .text() == "Propose merging"; }; +TFD.prototype._on_close_result_change = function() { + this._unblock_submit("no-close-result"); + // TODO: possibly disable/enable individual close actions +}; + TFD.prototype._build_close_results = function() { if (this._is_merge()) - var choices = ["Merge", "Do not merge", "No consensus"]; + var choices = ["Merge", "Do not merge", "No consensus", "Other"]; else - var choices = ["Delete", "Keep", "Redirect", "No consensus"]; - - // TODO: block submit until one is selected; possibly disable individual - // action options based on what is picked + var choices = ["Delete", "Keep", "Redirect", "No consensus", "Other"]; + var self = this; var elems = $("
"); $("