app/assets/javascripts/shoppe/application.coffee in shoppe-1.0.8 vs app/assets/javascripts/shoppe/application.coffee in shoppe-1.0.9
- old
+ new
@@ -40,9 +40,14 @@
originals = tr.children()
helper = tr.clone()
helper.children().each (index)->
$(this).width(originals.eq(index).width())
helper
+
+ $('a[data-behavior=addAttachmentToExtraAttachments]').on 'click', (event) ->
+ event.preventDefault();
+ $('div.extraAttachments').show();
+ $(this).hide();
# Chosen
$('select.chosen').chosen()
$('select.chosen-with-deselect').chosen({allow_single_deselect: true})
$('select.chosen-basic').chosen({disable_search_threshold:100})