summaryrefslogtreecommitdiffstats
path: root/install/static/widget.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-01-12 14:47:29 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2011-01-12 21:47:05 -0500
commitb79bf4ab1757eb08f7209f158f1f3a386ace8c96 (patch)
tree53ae8597469de4481d35a36e29172fa2cd4cf17d /install/static/widget.js
parent4da9228fb2ac34adab8eb1884ae414236adb84fa (diff)
downloadfreeipa.git-b79bf4ab1757eb08f7209f158f1f3a386ace8c96.tar.gz
freeipa.git-b79bf4ab1757eb08f7209f158f1f3a386ace8c96.tar.xz
freeipa.git-b79bf4ab1757eb08f7209f158f1f3a386ace8c96.zip
javascript lint cleanup
Diffstat (limited to 'install/static/widget.js')
-rwxr-xr-xinstall/static/widget.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/install/static/widget.js b/install/static/widget.js
index 1aa945f2..795cc42a 100755
--- a/install/static/widget.js
+++ b/install/static/widget.js
@@ -597,7 +597,7 @@ function ipa_table_widget(spec) {
if (that.scrollable && (i == that.columns.length-1)) {
if (column.width) {
- var width = parseInt(column.width.substring(0, column.width.length-2));
+ var width = parseInt(column.width.substring(0, column.width.length-2),10);
width += 16;
th.css('width', width+'px');
}
@@ -640,8 +640,8 @@ function ipa_table_widget(spec) {
'value': 'user'
}).appendTo(td);
- for (var i=0; i<that.columns.length; i++) {
- var column = that.columns[i];
+ for (/* var */ i=0; i<that.columns.length; i++) {
+ /* var */ column = that.columns[i];
td = $('<td/>').appendTo(tr);
if (column.width) {
@@ -1093,12 +1093,12 @@ function ipa_adder_dialog(spec) {
name: 'hidememb',
id: 'hidememb',
checked: 'checked',
- style: 'margin-left: 5px; vertical-align: middle',
+ style: 'margin-left: 5px; vertical-align: middle'
}).appendTo(search_panel);
var label = $('<label/>', {
'for': 'hidememb',
- style: 'margin-left: 3px',
+ style: 'margin-left: 3px'
});
label.text('Hide already enrolled.');