Fix tranfers page

This commit is contained in:
Ludovic Stephan 2017-05-15 15:27:46 -03:00
parent f4cb1e2e83
commit ad42687293

View file

@ -51,7 +51,7 @@
$(document).ready(function() {
'use strict';
var history = new KHistory();
var khistory = new KHistory();
$(khistory).on("cancel_done", function(e) {
khistory.selection.reset();
@ -61,9 +61,9 @@ $(document).ready(function() {
// Synchronization
// -----
OperationWebSocket.add_handler((data) => history.update_data(data));
OperationWebSocket.add_handler((data) => khistory.update_data(data));
Config.reset(() => history.fetch({'transfersonly': true}));
Config.reset(() => khistory.fetch({'transfersonly': true}));
});
</script>