diff --git a/app/views/finance/order_articles/create.js.haml b/app/views/finance/order_articles/create.js.haml index 8498e09c..cc43206e 100644 --- a/app/views/finance/order_articles/create.js.haml +++ b/app/views/finance/order_articles/create.js.haml @@ -1,2 +1,3 @@ $('#modalContainer').modal('hide'); $('#result_table').prepend('#{j(render('finance/balancing/order_article_result', order_article: @order_article))}'); +$('#summaryChangedWarning').show(); \ No newline at end of file diff --git a/app/views/finance/order_articles/update.js.haml b/app/views/finance/order_articles/update.js.haml index 1e895329..36e66ccd 100644 --- a/app/views/finance/order_articles/update.js.haml +++ b/app/views/finance/order_articles/update.js.haml @@ -1,2 +1,4 @@ $('#modalContainer').modal('hide'); $('#order_article_#{@order_article.id}').html('#{j(render('finance/balancing/order_article', order_article: @order_article))}'); +$('#group_order_articles_#{@order_article.id}').html('#{j(render('finance/balancing/group_order_articles', order_article: @order_article))}'); +$('#summaryChangedWarning').show(); \ No newline at end of file