Skip to content

Commit

Permalink
- [JS] Corrected: event association on add new input in submission form
Browse files Browse the repository at this point in the history
- [Daemon] Corrected: log any fatal exception during job processing in job file
  • Loading branch information
Marc Chjakiachvili committed Feb 7, 2018
1 parent 6e7e6c3 commit e5e3d22
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
CHANGELOG
=========

Version 1.1.8 - 2018-02-10
--------------------------

- [JS] Corrected: event association on add new input in submission form
- [Daemon] Corrected: log any fatal exception during job processing in job file

Version 1.1.7 - 2018-02-07
--------------------------

Expand Down
4 changes: 2 additions & 2 deletions waves/wcore/management/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ def loop_callback(self):
logger.error("Error Job %s (adaptor:%s-state:%s): %s", job, runner, job.get_status_display(),
e.message)
except Exception as exc:
logger.error('Current job raised unrecoverable exception %s', exc)
job.fatal_error()
logger.exception('Current job raised unrecoverable exception %s', exc)
job.fatal_error(exc)
finally:
logger.info("Queue job terminated at: %s", datetime.datetime.now().strftime('%A, %d %B %Y %H:%M:%I'))
job.check_send_mail()
Expand Down
13 changes: 6 additions & 7 deletions waves/wcore/static/waves/admin/js/submission_jet.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,12 @@ var RelatedInlinePopup = function () {
};
$(document).ready(function () {
var rel = new RelatedInlinePopup();
$('#inputs-group').find('tr.add-row a').each(function () {
$(this).off("click");
$(this).on('click', function (e) {
e.preventDefault();
e.stopPropagation();
$('#add_submission_input_link').trigger('click');
});
$('#inputs-group').find('tr.add-row').each(function(){ alert($(this).text())});
$(document).on("click", "tr.add-row a", function (e) {
e.preventDefault();
e.stopPropagation();
$('#add_submission_input_link').trigger('click');
return true;
});
$('#add_submission_input_link').click(function(event){
event.preventDefault();
Expand Down

0 comments on commit e5e3d22

Please sign in to comment.