app/assets/javascripts/extface/devices.js in extface-0.1.4 vs app/assets/javascripts/extface/devices.js in extface-0.1.5

- old
+ new

@@ -1,2 +1,8 @@ // Place all the behaviors and hooks related to the matching controller here. // All this logic will automatically be available in application.js. +$(document).ready(function() { + $('#push').click(function(e) { + $.post($(this).attr('href'), $('#data').val()); + e.preventDefault(); + }); +}); \ No newline at end of file