10 lines
218 B
Text
10 lines
218 B
Text
|
// Publish database changes.
|
||
|
// See publish/subscribe design pattern in /doc.
|
||
|
$(document).trigger({
|
||
|
type: 'OrderArticle#create',
|
||
|
order_article_id: <%= @order_article.id %>
|
||
|
});
|
||
|
|
||
|
$('#modalContainer').modal('hide');
|
||
|
|