From 0df7939ecb6c97270c98e5dd1b28876a73f2dd21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 10 Oct 2018 08:16:29 +0200 Subject: [PATCH] misc: include origin field in "live change" message (#27172) --- wcs/qommon/static/js/qommon.forms.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wcs/qommon/static/js/qommon.forms.js b/wcs/qommon/static/js/qommon.forms.js index 493e5673f..1b5597a4b 100644 --- a/wcs/qommon/static/js/qommon.forms.js +++ b/wcs/qommon/static/js/qommon.forms.js @@ -74,6 +74,9 @@ $(function() { if (live_evaluation) { live_evaluation.abort(); } + if ($(this).attr('id')) { + new_data += '&changed_field_id=' + $(this).parents('[data-field-id]').data('field-id'); + } live_evaluation = $.ajax({ type: 'POST', url: window.location.pathname + 'live', -- 2.19.1