summaryrefslogtreecommitdiff
path: root/views/new-itinerary.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2016-02-10 18:48:57 -0800
committerAaron Parecki <aaron@parecki.com>2016-02-10 18:48:57 -0800
commitbcfb8731ca342bf3d5b8da0024c273c7adb7c1cb (patch)
tree91c2657bdfab2121dac5874bafc5175ac13511f9 /views/new-itinerary.php
parent76aa9c2bc9d31549e44bc0b10817eb6e252dbe11 (diff)
fix sending category as array
Diffstat (limited to 'views/new-itinerary.php')
-rw-r--r--views/new-itinerary.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/new-itinerary.php b/views/new-itinerary.php
index 8d8811c..266e339 100644
--- a/views/new-itinerary.php
+++ b/views/new-itinerary.php
@@ -105,7 +105,6 @@
}
</style>
-<script src="/js/script.js"></script>
<script>
$(function(){
@@ -176,7 +175,7 @@ $(function(){
});
});
- var category = $("#note_category").val().split(/[, ]+/)
+ var category = csv_to_array($("#note_category").val());
$.post("/itinerary", {
data: JSON.stringify({