From 66692127c6754e9123f6bb4eaab479284112b85a Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Fri, 16 Mar 2012 14:44:11 +0100 Subject: Show_content on refresh success If an error content is displayed a successfull refresh doesn't show properly populated facet content. This patch adds show_content call to refresh success handlers which solves the problem. https://fedorahosted.org/freeipa/ticket/2449 --- install/ui/search.js | 1 + 1 file changed, 1 insertion(+) (limited to 'install/ui/search.js') diff --git a/install/ui/search.js b/install/ui/search.js index 30b4d3dd..6bde398b 100644 --- a/install/ui/search.js +++ b/install/ui/search.js @@ -222,6 +222,7 @@ IPA.search_facet = function(spec) { command.on_success = function(data, text_status, xhr) { that.filter.focus(); that.load(data); + that.show_content(); }; command.on_error = function(xhr, text_status, error_thrown) { -- cgit