app/assets/javascripts/spina/admin/pages.js.coffee in spina-0.6.12 vs app/assets/javascripts/spina/admin/pages.js.coffee in spina-0.6.13
- old
+ new
@@ -37,13 +37,11 @@
$(document).on 'click', '.sort-switch', (event) ->
$($(this).attr('href') + ' .dd-item-inner').toggleClass('dd-handle')
if $(this).attr('data-icon') == 'j'
$(this).attr('data-icon', '8')
$(this).removeClass('button-success')
- $(this).addClass('button-link')
- $(this).text('Volgorde wijzigen')
+ $(this).text($(this).data('change-order'))
else
$(this).attr('data-icon', 'j')
$(this).addClass('button-success')
- $(this).removeClass('button-link')
- $(this).text('Klaar met slepen')
+ $(this).text($(this).data('done-changing-order'))
return false