Remove duplicate ws updates

This commit is contained in:
Ludovic Stephan 2017-05-15 18:59:18 -03:00
parent ac33e6302e
commit c2da055b60
3 changed files with 0 additions and 20 deletions

View file

@ -108,12 +108,6 @@ $(document).ready(function() {
khistory.selection.reset();
});
// -----
// Synchronization
// -----
OperationWebSocket.add_handler((data) => khistory.update_data(data));
Config.reset(() => khistory.fetch({'accounts': [{{account.pk}}]}));
});
</script>

View file

@ -136,14 +136,6 @@ $(document).ready(function() {
khistory.selection.reset();
});
// -----
// Synchronization
// -----
OperationWebSocket.add_handler(data => khistory.update_data(data));
Config.reset(updateHistory);
});
</script>

View file

@ -57,12 +57,6 @@ $(document).ready(function() {
khistory.selection.reset();
});
// -----
// Synchronization
// -----
OperationWebSocket.add_handler((data) => khistory.update_data(data));
Config.reset(() => khistory.fetch({'transfersonly': true}));
});