diff --git a/booking.js b/booking.js index 0173242..0026b09 100644 --- a/booking.js +++ b/booking.js @@ -2,6 +2,6 @@ * Special Effects AJAX framework command. */ Drupal.ajax.prototype.commands.bookingEmailIDs = function(ajax, response, status) { - var initValues = $.parseJSON($('input:hidden#booking_email_default_ids').val()); - alert(initValues.first()) ; // this will be executed after the ajax call + var initValues = $('input:hidden#booking_email_default_ids').val()); + alert(initValues) ; // this will be executed after the ajax call } \ No newline at end of file