app/assets/javascripts/contour/global.js.coffee in contour-2.4.0.beta1 vs app/assets/javascripts/contour/global.js.coffee in contour-2.4.0.beta2

- old
+ new

@@ -28,20 +28,8 @@ try $(this).val($.datepicker.formatDate('mm/dd/yy', $.datepicker.parseDate('mm/dd/yy', $(this).val()))) catch error # Nothing ) - .on('click', ".pagination a, .page a, .next a, .prev a", () -> - return false if $(this).parent().is('.active, .disabled, .per_page') - $.get(this.href, null, null, "script") - false - ) - .on("click", ".per_page a", () -> - object_class = $(this).data('object') - $.get($("#"+object_class+"_search").attr("action"), $("#"+object_class+"_search").serialize() + "&"+object_class+"_per_page="+ $(this).data('count'), null, "script") - false - ) - .on('click', '[data-object~="order"]', () -> - $('#order').val($(this).data('order')) - $($(this).data('form')).submit() + .on('click', '[data-object~="suppress-click"]', () -> false )