From 5577ae774063ef1ffc4ad71f92b0fa66944484a0 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 5 Sep 2015 00:14:52 -0500 Subject: [PATCH] Submit blocker for action fetching. --- tfdclerk.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tfdclerk.js b/tfdclerk.js index 16d0646..f37c11a 100644 --- a/tfdclerk.js +++ b/tfdclerk.js @@ -200,6 +200,7 @@ TFD.prototype._add_option_box = function(verb, title, callback, options) { text: verb.charAt(0).toUpperCase() + verb.slice(1), addClass: "tfdclerk-submit mw-ui-button mw-ui-progressive", style: "margin-right: 0.5em;", + disabled: this._submit_blockers.length > 0, click: function() { callback.call(self); } })) .append($("