aboutsummaryrefslogtreecommitdiff
path: root/resources/js/reserve.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/js/reserve.js')
-rw-r--r--resources/js/reserve.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/js/reserve.js b/resources/js/reserve.js
new file mode 100644
index 0000000..7a20c37
--- /dev/null
+++ b/resources/js/reserve.js
@@ -0,0 +1,9 @@
+jQuery('select#special-call').change(setCallDesc);
+jQuery(document).ready(setCallDesc);
+
+function setCallDesc() {
+ sign = jQuery('select#special-call').first().val();
+ jQuery.get('/special-calls/show/' + sign, function (data, status) {
+ jQuery('div#call-desc').html(data);
+ });
+}