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