foodsoft/app/views/order_articles/update.js.erb

10 lines
218 B
Text
Raw Normal View History

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