From 9a49b4f23609e6a57775c0107de47b44b99a674f Mon Sep 17 00:00:00 2001 From: Adam Young <ayo...@redhat.com> Date: Wed, 15 Jun 2011 11:18:25 -0400 Subject: [PATCH] no redirect on search
https://fedorahosted.org/freeipa/ticket/1281 --- install/ui/entity.js | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/install/ui/entity.js b/install/ui/entity.js index de57df544995df8a1f8721dfc6c9ff4698ec4f19..58e1d150d81aac28f561844681632f19629a3cbc 100644 --- a/install/ui/entity.js +++ b/install/ui/entity.js @@ -1,3 +1,4 @@ + /*jsl:import ipa.js */ /*jsl:import navigation.js */ @@ -131,11 +132,14 @@ IPA.facet = function (spec) { }; that.on_error = function(xhr, text_status, error_thrown) { - if (that.entity.redirect_facet) { + if (that.entity.redirect_facet && + (IPA.current_facet(that.entity) !== 'search')) + { var current_entity = that.entity; while (current_entity.containing_entity){ current_entity = current_entity.containing_entity; } + IPA.nav.show_page( current_entity.name, that.entity.redirect_facet); -- 1.7.5.2
_______________________________________________ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel