summaryrefslogtreecommitdiffstats
path: root/install/static
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2010-11-29 09:46:39 -0500
committerAdam Young <ayoung@redhat.com>2010-11-29 09:46:39 -0500
commit5bfb1a004a9c6828c5b6a002d15f7eeb2ce14c9a (patch)
treecdd1f9e341a86ddf3bc7d5177f9ccbe417cebeb3 /install/static
parent16b935169c556135dcab2908d102a884f803fda4 (diff)
downloadfreeipa-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.
Diffstat (limited to 'install/static')
-rw-r--r--install/static/details.js2
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;