Fix tranfers page
This commit is contained in:
parent
f4cb1e2e83
commit
ad42687293
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue