From a73e28177b78feb357070cf4f217fdff42615605 Mon Sep 17 00:00:00 2001 From: radhika Date: Fri, 22 Aug 2014 13:49:21 -0400 Subject: [PATCH 1/1] 3112: ajax event handling on form not working. reverting back to document for now. --- apps/workbench/app/assets/javascripts/report_issue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/workbench/app/assets/javascripts/report_issue.js b/apps/workbench/app/assets/javascripts/report_issue.js index bb39d89485..482fd53548 100644 --- a/apps/workbench/app/assets/javascripts/report_issue.js +++ b/apps/workbench/app/assets/javascripts/report_issue.js @@ -1,5 +1,5 @@ // ajax handling for report-issue function -$('#report-issue-modal-window form'). +$(document). on('ajax:send', function() { var $sendButton = $('#report-issue-submit'); if ($sendButton) { -- 2.30.2