summaryrefslogtreecommitdiff
path: root/package/webif/files/www/webif.js
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-11-09 00:00:05 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-11-09 00:00:05 +0100
commitf5e5aeb7125c065c535ecb0774ab48cb7ef4622e (patch)
tree141251b03a4dd888b67e04aa3eba7dc504bd7644 /package/webif/files/www/webif.js
parent789a7cf4069b86f1bd44c55d69205aff1837f906 (diff)
webif: remove deprecated
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/webif/files/www/webif.js')
-rw-r--r--package/webif/files/www/webif.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/package/webif/files/www/webif.js b/package/webif/files/www/webif.js
deleted file mode 100644
index 64d26cd8b..000000000
--- a/package/webif/files/www/webif.js
+++ /dev/null
@@ -1,33 +0,0 @@
-function value(name)
-{
- var item = document.getElementById(name);
- return (item ? item.value : "");
-}
-function isset(name, val)
-{
- return (value(name) == val);
-}
-function checked(name)
-{
- var item = document.getElementById(name);
- return ((item) && item.checked);
-}
-function hide(name)
-{
- var item = document.getElementById(name);
- if (item)
- item.style.display = 'none';
-}
-function show(name)
-{
- var item = document.getElementById(name);
- if (item)
- item.style.display = '';
-}
-function set_visible(name, value)
-{
- if (value)
- show(name)
- else
- hide(name)
-}