summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-11-13 13:19:51 +0200
committerVille Skyttä <ville.skytta@iki.fi>2011-11-13 13:19:51 +0200
commit77256a0a8b1adaab3d51a1055b5d819a9b0de2bd (patch)
tree71071aa25680a93d5f58de30d5ffe92db0aa15ec
parent4cbabb35b7ee00ecc1fd05863fac0839820dd75e (diff)
downloadvdradmin-am-77256a0a8b1adaab3d51a1055b5d819a9b0de2bd.tar.gz
vdradmin-am-77256a0a8b1adaab3d51a1055b5d819a9b0de2bd.tar.bz2
Fix jslint whitespace warnings.
-rw-r--r--template/default/library.js17
1 files changed, 8 insertions, 9 deletions
diff --git a/template/default/library.js b/template/default/library.js
index ee9daf2..d307ca6 100644
--- a/template/default/library.js
+++ b/template/default/library.js
@@ -8,16 +8,16 @@ function open_help(url) {
}
function del(message, suffix) {
- check=confirm(message);
- if(check) {
- window.location.href=suffix;
+ check = confirm(message);
+ if (check) {
+ window.location.href = suffix;
}
}
function change(message, suffix) {
- check=confirm(message);
- if(check) {
- window.location.href=suffix;
+ check = confirm(message);
+ if (check) {
+ window.location.href = suffix;
}
}
@@ -25,7 +25,7 @@ function mdel(but, message) {
return confirm(message);
}
-function callurl( url ) {
+function callurl(url) {
image = new Image();
Now = new Date();
image.src = url + "&rand=" + Now.getTime();
@@ -39,8 +39,7 @@ function toolbar(URL) {
window.open(URL, '_blank', 'width=200, height=50');
}
-function AllMessages(myform)
-{
+function AllMessages(myform) {
for (var x = 0; x < myform.elements.length; x++) {
var y = myform.elements[x];
if (y.name != 'SELALL') {