summaryrefslogtreecommitdiffstats
path: root/public/javascripts/application.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/application.js')
-rw-r--r--public/javascripts/application.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 610cb60e7..b39b0fead 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -473,10 +473,13 @@ function randomKey(size) {
return key;
}
-function updateIssueFrom(url) {
+function updateIssueFrom(url, el) {
$('#all_attributes input, #all_attributes textarea, #all_attributes select').each(function(){
$(this).data('valuebeforeupdate', $(this).val());
});
+ if (el) {
+ $("#form_update_triggered_by").val($(el).attr('id'));
+ }
return $.ajax({
url: url,
type: 'post',