app/assets/javascripts/shoppe/application.coffee in shoppe-0.0.15 vs app/assets/javascripts/shoppe/application.coffee in shoppe-0.0.16

- old
+ new

@@ -41,9 +41,14 @@ # Chosen $('select.chosen').chosen() $('select.chosen-with-deselect').chosen({allow_single_deselect: true}) + # Printables + $('a[rel=print]').on 'click', -> + window.open($(this).attr('href'), 'despatchnote', 'width=700,height=800') + false + # Open AJAX dialogs $('a[rel=dialog]').on 'click', -> element = $(this) options = {} options.width = element.data('dialog-width') if element.data('dialog-width') \ No newline at end of file