//= require jquery_ujs.prompt

$(document).on('ajax:success', '[data-inject-response=1]', function(xhr, data, status) {
  $(this).html(data['text']);
  if(data['disable']) {
    console.log('disabling');
    $(this).attr('disabled', 'disabled');
  }
  console.log("DPNE");

});

$(document).on('ajax:error', '[data-inject-response=1]', function(xhr, status, error) {
  $(this).html('error ☹');
  console.log('Broken AJAX: xhr/status/error:');
  console.log(xhr);
  console.log(status);
  console.log(error);
});

@@ -247,32 +247,8 @@
   %7D%0A
-  console.log(%22DPNE%22);%0A%0A
 %7D);%0A

remove left over debug code