app/assets/javascripts/georgia/components/portlets/slide.js.coffee in georgia-0.7.6 vs app/assets/javascripts/georgia/components/portlets/slide.js.coffee in georgia-0.7.7
- old
+ new
@@ -16,9 +16,11 @@
addSlide: (event) =>
event.preventDefault()
$.ajax(
url: "/admin/slides/new"
+ data:
+ locale: $('[data-locale]').data('locale')
).done( (data) => @slideList.append(data) )
removeSlide: (event) =>
event.preventDefault()
portlet = $(event.currentTarget).closest('.portlet')
\ No newline at end of file