Re: [Freeipa-devel] [PATCH] Disable action panel links when the selected entry is deleted.

2011-01-03 Thread Adam Young

On 01/01/2011 09:02 PM, Adam Young wrote:

On 12/30/2010 11:44 AM, Pavel Zůna wrote:

Fix #685

Pavel


___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

ACK


___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

pushed to master
___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Re: [Freeipa-devel] [PATCH] Disable action panel links when the selected entry is deleted.

2011-01-01 Thread Adam Young

On 12/30/2010 11:44 AM, Pavel Zůna wrote:

Fix #685

Pavel


___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

ACK
___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

[Freeipa-devel] [PATCH] Disable action panel links when the selected entry is deleted.

2010-12-30 Thread Pavel Zůna

Fix #685

Pavel
From 2dd2304d8f10272d3e376090cbe2565e21ff627d Mon Sep 17 00:00:00 2001
From: Pavel Zuna pz...@redhat.com
Date: Thu, 30 Dec 2010 16:41:50 -0500
Subject: [PATCH] Disable action panel links when the selected entry is deleted.

Fix #685
---
 install/static/search.js |6 +-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/install/static/search.js b/install/static/search.js
index 061824c..a111e0c 100644
--- a/install/static/search.js
+++ b/install/static/search.js
@@ -206,6 +206,11 @@ function ipa_search_widget(spec) {
 
 function on_success(data, text_status, xhr) {
 
+var action_panel = that.facet.get_action_panel();
+$('li.entity-facet', action_panel).
+addClass('entity-facet-disabled');
+$('input', action_panel).val(null);
+
 that.tbody.empty();
 
 var result = data.result.result;
@@ -215,7 +220,6 @@ function ipa_search_widget(spec) {
 }
 
 var summary = $('span[name=summary]', that.tfoot);
-
 if (data.result.truncated) {
 summary.text(
 'Query returned results than configured size limit will show.' +
-- 
1.7.1.1

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel