Rename History class

This commit is contained in:
Ludovic Stephan 2017-04-05 09:53:12 -03:00
parent e051631a34
commit 7ec7ed2696
5 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
class History {
class KHistory {
constructor(api_options, display_options) {
this.templates = {

View file

@ -5,7 +5,7 @@ class KPsulManager {
this.account_manager = new AccountManager(this);
this.checkout_manager = new CheckoutManager(this);
this.article_manager = new ArticleManager(this);
this.history = new History();
this.history = new KHistory();
}
reset(soft) {

View file

@ -105,7 +105,7 @@ $(document).ready(function() {
// Lock to avoid multiple requests
window.lock = 0;
var history = new History();
var history = new KHistory();
history.api_options = {
'accounts': [{{ account.pk }}],
};

View file

@ -65,7 +65,7 @@ $(document).ready(function() {
'use strict';
var history = new History();
var history = new KHistory();
var $from_date = $('#from_date');
var $to_date = $('#to_date');

View file

@ -54,7 +54,7 @@ $(document).ready(function() {
// Lock to avoid multiple requests
window.lock = 0;
var history = new History();
var history = new KHistory();
history.api_options = {
'transfersonly': true,
};