diff options
author | Adam Young <ayoung@redhat.com> | 2010-11-29 09:46:39 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2010-11-29 09:46:39 -0500 |
commit | 5bfb1a004a9c6828c5b6a002d15f7eeb2ce14c9a (patch) | |
tree | cdd1f9e341a86ddf3bc7d5177f9ccbe417cebeb3 | |
parent | 16b935169c556135dcab2908d102a884f803fda4 (diff) | |
download | freeipa-5bfb1a004a9c6828c5b6a002d15f7eeb2ce14c9a.tar.gz freeipa-5bfb1a004a9c6828c5b6a002d15f7eeb2ce14c9a.tar.xz freeipa-5bfb1a004a9c6828c5b6a002d15f7eeb2ce14c9a.zip |
quote class member
the class member variable is a reserved keyword in Javascript.
This patch fixes a syntax error.
-rw-r--r-- | install/static/details.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/static/details.js b/install/static/details.js index a989d9d4e..f549e6a4c 100644 --- a/install/static/details.js +++ b/install/static/details.js @@ -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; |