mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
quote class member
the class member variable is a reserved keyword in Javascript. This patch fixes a syntax error.
This commit is contained in:
parent
16b935169c
commit
5bfb1a004a
@ -428,7 +428,7 @@ function ipa_button(spec) {
|
||||
});
|
||||
|
||||
if (spec.click) button.click(spec.click);
|
||||
if (spec.class) button.addClass(spec.class);
|
||||
if (spec['class']) button.addClass(spec['class']);
|
||||
if (spec.icon) button.append('<span class="ui-icon '+spec.icon+'" ></span> ');
|
||||
|
||||
return button;
|
||||
|
Loading…
Reference in New Issue
Block a user