15 lines
496 B
Plaintext
15 lines
496 B
Plaintext
// Handle more advanced DOM update after AJAX database manipulation.
|
|
// See publish/subscribe design pattern in /doc.
|
|
(function(w) {
|
|
$('#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();
|
|
})(window);
|
|
|