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
This commit is contained in:
Petr Vobornik
2012-03-16 14:44:11 +01:00
parent 646a4ccde3
commit 66692127c6
5 changed files with 6 additions and 0 deletions

View File

@@ -255,6 +255,7 @@ IPA.hbac.test_facet = function(spec) {
command.on_success = function(data, text_status, xhr) {
that.load(data);
that.show_content();
};
command.on_error = function(xhr, text_status, error_thrown) {