forked from DGNum/gestioCOF
Fix tranfers page
This commit is contained in:
parent
f4cb1e2e83
commit
ad42687293
|
@ -51,7 +51,7 @@
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var history = new KHistory();
|
var khistory = new KHistory();
|
||||||
|
|
||||||
$(khistory).on("cancel_done", function(e) {
|
$(khistory).on("cancel_done", function(e) {
|
||||||
khistory.selection.reset();
|
khistory.selection.reset();
|
||||||
|
@ -61,9 +61,9 @@ $(document).ready(function() {
|
||||||
// Synchronization
|
// 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>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue