summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-07-24 13:19:36 +0200
committerPetr Vobornik <pvoborni@redhat.com>2012-08-02 10:27:16 +0200
commitf805001242828380d3f71922b38882f48876b844 (patch)
tree7e1fe264e9e04c4e21191bf6dd859b568b1a1f35 /install
parent2a7e5571129c76114d8c429f58c9914d8c316d43 (diff)
downloadfreeipa-f805001242828380d3f71922b38882f48876b844.tar.gz
freeipa-f805001242828380d3f71922b38882f48876b844.tar.xz
freeipa-f805001242828380d3f71922b38882f48876b844.zip
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
Diffstat (limited to 'install')
-rw-r--r--install/ui/widget.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js
index 8f9d8b075..80fc1da1d 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;
}