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
This commit is contained in:
Petr Vobornik
2012-08-21 17:27:21 +02:00
parent 785e80c4fc
commit 36c345dd1d

View File

@@ -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);
};