projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
3112: minor cleanup
[arvados.git]
/
apps
/
workbench
/
app
/
views
/
application
/
report_issue_popup.js.erb
diff --git
a/apps/workbench/app/views/application/report_issue_popup.js.erb
b/apps/workbench/app/views/application/report_issue_popup.js.erb
index 59aedbcf6e585484983715753f55596f97df08e4..5cfe502166f86210a107314786913c8b2188777e 100644
(file)
--- a/
apps/workbench/app/views/application/report_issue_popup.js.erb
+++ b/
apps/workbench/app/views/application/report_issue_popup.js.erb
@@
-1,7
+1,6
@@
$("#report-issue-modal-window").html("<%= escape_javascript(render partial: 'report_issue_popup') %>");
$("#report-issue-modal-window").html("<%= escape_javascript(render partial: 'report_issue_popup') %>");
+$("#report-issue-modal-window .modal").modal('show');
-// reset form input fields, for the next time around
-function reset_form() {
- $('#report_issue_text').val("");
- $('#additional_info').val("");
-}
+$('#report-issue-modal-window').on('hidden.bs.modal', function () {
+ location.reload();
+})