Move of click handler in patch for #2834 causes failure of automation tests.

This patch reverts the problematic part. It should not affect function of fix for #2834.

https://fedorahosted.org/freeipa/ticket/3014
--
Petr Vobornik

From 43db830f0a77186fa4affaa88a92cde897df1385 Mon Sep 17 00:00:00 2001
From: Petr Vobornik <pvobo...@redhat.com>
Date: Tue, 21 Aug 2012 17:27:21 +0200
Subject: [PATCH] Revert change causing failure in test automation

Move of click handler in patch for #2834 causes failure of automation tests.

This patch reverts the problematic part. It should not affect function of fix for #2824.

https://fedorahosted.org/freeipa/ticket/3014
---
 install/ui/widget.js |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/install/ui/widget.js b/install/ui/widget.js
index ea0702a2208aa8fbea89efad3f83b7e41d3db871..2f12ad8411ed5e2e9618980c111195492d2b6292 100644
--- a/install/ui/widget.js
+++ b/install/ui/widget.js
@@ -2179,8 +2179,7 @@ IPA.combobox_widget = function(spec) {
             name: 'list',
             size: that.size,
             style: 'width: 100%',
-            change: that.select_on_change,
-            click: that.select_on_change
+            change: that.select_on_change
         }).appendTo(div);
 
         if (that.undo) {
@@ -2322,7 +2321,8 @@ IPA.combobox_widget = function(spec) {
     that.create_option = function(label, value) {
         var option = $('<option/>', {
             text: label,
-            value: value
+            value: value,
+            click: that.select_on_change
         }).appendTo(that.list);
     };
 
-- 
1.7.10.4

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

Reply via email to