orbit-basic/app/assets/javascripts/lib/arrow-on-list-edit.js

9 lines
253 B
JavaScript

$(function() {
$.pageslide.closeCallback(function(pageslide, item) {
$("tr").removeClass("active");
});
$.pageslide.loadComplete(function(pageslide, item) {
$("tr").removeClass("active");
item.closest('tr').addClass('active');
});
})