summaryrefslogtreecommitdiffstats
path: root/admportal/public/javascripts/sla.js
diff options
context:
space:
mode:
Diffstat (limited to 'admportal/public/javascripts/sla.js')
-rw-r--r--admportal/public/javascripts/sla.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/admportal/public/javascripts/sla.js b/admportal/public/javascripts/sla.js
new file mode 100644
index 00000000..53c49316
--- /dev/null
+++ b/admportal/public/javascripts/sla.js
@@ -0,0 +1,9 @@
+function uploadDG(form)
+{
+ if ( form.filename.value.length == 0)
+ {
+ alert('Must select a file.');
+ return false;
+ }
+ else { form.submit(); return; }
+}