|
|
@ -30,6 +30,8 @@ define(
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
target.closest('li i').addClass('icon-spinner icon-spin');
|
|
|
|
|
|
|
|
|
|
|
|
var label = target.attr('data-action');
|
|
|
|
var label = target.attr('data-action');
|
|
|
|
var ffLabels = this.fastForwardHandleLabels;
|
|
|
|
var ffLabels = this.fastForwardHandleLabels;
|
|
|
|
|
|
|
|
|
|
|
@ -84,7 +86,8 @@ define(
|
|
|
|
label : i + 1,
|
|
|
|
label : i + 1,
|
|
|
|
title : 'No. ' + (i + 1),
|
|
|
|
title : 'No. ' + (i + 1),
|
|
|
|
className : currentPage === i ? 'active' :undefined,
|
|
|
|
className : currentPage === i ? 'active' :undefined,
|
|
|
|
pageNumber: i + 1
|
|
|
|
pageNumber : i + 1,
|
|
|
|
|
|
|
|
lastPage : lastPage + 1
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -134,7 +137,8 @@ define(
|
|
|
|
var templateFunction = Marionette.TemplateCache.get(this.template);
|
|
|
|
var templateFunction = Marionette.TemplateCache.get(this.template);
|
|
|
|
|
|
|
|
|
|
|
|
this.$el.html(templateFunction({
|
|
|
|
this.$el.html(templateFunction({
|
|
|
|
handles: this.makeHandles()
|
|
|
|
handles: this.makeHandles(),
|
|
|
|
|
|
|
|
state: this.collection.state
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
|
|
this.delegateEvents();
|
|
|
|
this.delegateEvents();
|
|
|
|