From 272369ba4ca03f24ec9e967ef1fdffbcdc32a5c3 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 10 Aug 2016 23:40:51 -0400 Subject: [PATCH] Delete vehicles.js --- assets/javascripts/vehicles.js | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 assets/javascripts/vehicles.js diff --git a/assets/javascripts/vehicles.js b/assets/javascripts/vehicles.js deleted file mode 100644 index 9265cf6..0000000 --- a/assets/javascripts/vehicles.js +++ /dev/null @@ -1,16 +0,0 @@ -# Place all the behaviors and hooks related to the matching controller here. -# All this logic will automatically be available in application.js. -# You can use CoffeeScript in this file: http://coffeescript.org/ - -$ -> - $(document).on 'change', '#issue_customer_id', (evt) -> - $.ajax 'update_vehicles', - type: 'GET' - dataType: 'script' - data: { - customer_id: $("#issue_customer_id option:selected").val() - } - error: (jqXHR, textStatus, errorThrown) -> - console.log("AJAX Error: #{textStatus}") - success: (data, textStatus, jqXHR) -> -console.log("Dynamic vehicle select OK!")