38 lines
1.4 KiB
Diff
38 lines
1.4 KiB
Diff
From f805001242828380d3f71922b38882f48876b844 Mon Sep 17 00:00:00 2001
|
|
From: Petr Vobornik <pvoborni@redhat.com>
|
|
Date: Tue, 24 Jul 2012 13:19:36 +0200
|
|
Subject: [PATCH 62/79] Fix for incorrect event handler definition
|
|
|
|
Clicks events should be better defined by jquery calls (usually addEventListener) not as elements attributes. Definition as element attribute causes problems after upgrade to jquery 1.7.2. Two occurances were removed.
|
|
|
|
https://fedorahosted.org/freeipa/ticket/2817
|
|
---
|
|
install/ui/widget.js | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/install/ui/widget.js b/install/ui/widget.js
|
|
index 8f9d8b075fbbcf640cc5f0cf43e6ba1ce6e1989e..80fc1da1d6f652b22b292ea9e5e80350592ced83 100644
|
|
--- a/install/ui/widget.js
|
|
+++ b/install/ui/widget.js
|
|
@@ -3212,7 +3212,7 @@ IPA.sshkey_widget = function(spec) {
|
|
href: '#show-certificate',
|
|
title: that.tooltip,
|
|
text: IPA.messages.objects.sshkeystore.show_set_key,
|
|
- onclick: function() {
|
|
+ click: function() {
|
|
that.open_edit_dialog();
|
|
return false;
|
|
}
|
|
@@ -3430,7 +3430,7 @@ IPA.action_panel = function(spec) {
|
|
href: '#',
|
|
text: action.label,
|
|
'class': classes.join(' '),
|
|
- onclick: function() {
|
|
+ click: function() {
|
|
that.action_clicked(action);
|
|
return false;
|
|
}
|
|
--
|
|
1.7.11.2
|
|
|