From 7c1afbf0db6a9d65afee328e2dbca339affd60a3 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 5 Sep 2015 17:32:05 -0500 Subject: [PATCH] Building close action entries. --- tfdclerk.js | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 61 insertions(+), 12 deletions(-) diff --git a/tfdclerk.js b/tfdclerk.js index e1c3ce9..6a458ee 100644 --- a/tfdclerk.js +++ b/tfdclerk.js @@ -275,6 +275,13 @@ TFD.prototype._add_option_table = function(options) { this.box.append(table); }; +TFD.prototype._build_loading_node = function(node, text) { + return $("<" + node + "/>", { + text: text + "...", + style: "font-style: italic; color: #777;" + }); +}; + TFD.prototype._do_close = function() { // TODO // rough mockup: @@ -333,7 +340,7 @@ TFD.prototype._build_close_results = function() { $("