summaryrefslogtreecommitdiff
path: root/views/event.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/event.php')
-rw-r--r--views/event.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/event.php b/views/event.php
index ff11678..1a11681 100644
--- a/views/event.php
+++ b/views/event.php
@@ -81,8 +81,7 @@
"type": "h-event",
"properties": properties
})
- }, function(data){
- var response = JSON.parse(data);
+ }, function(response){
if(response.location != false) {
$("#test_success").removeClass('hidden');