From c385db4fc017f3319ff4d57bc19efe81585bc5dd Mon Sep 17 00:00:00 2001 From: Adam Young Date: Mon, 10 Jan 2011 21:14:51 -0500 Subject: spinning wheel display a spinning icon gif during network traffic. Fixes the following from first patch: 1 primary key set in span as opposed to appended, so it only appears once. 2. call hide for the network activity icon only in success or failure functions, not multiple times --- install/static/widget.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'install/static/widget.js') diff --git a/install/static/widget.js b/install/static/widget.js index 297a44ac..f26ee2a1 100644 --- a/install/static/widget.js +++ b/install/static/widget.js @@ -1105,6 +1105,8 @@ IPA.adder_dialog = function (spec) { label.appendTo(search_panel); + search_panel.append(IPA.create_network_spinner()); + var results_panel = $('
', { 'class': 'adder-dialog-results' }).appendTo(that.container); -- cgit