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
This commit is contained in:
Petr Vobornik
2012-07-24 13:19:36 +02:00
parent 2a7e557112
commit f805001242

View File

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