diff options
Diffstat (limited to 'views/new-itinerary.php')
-rw-r--r-- | views/new-itinerary.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/views/new-itinerary.php b/views/new-itinerary.php index 7020e10..4f07476 100644 --- a/views/new-itinerary.php +++ b/views/new-itinerary.php @@ -185,8 +185,7 @@ $(function(){ "category": category } }) - }, function(data){ - var response = JSON.parse(data); + }, function(response){ if(response.location != false) { $("#test_success").removeClass('hidden'); |