forked from DGNum/gestioCOF
Move history initialisation as Config.reset callback
This commit is contained in:
parent
66c5a6953c
commit
c99e4f26d0
3 changed files with 4 additions and 3 deletions
|
@ -93,7 +93,7 @@ $(document).ready(function() {
|
||||||
history.update_data(data);
|
history.update_data(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
history.reset();
|
Config.reset(history.reset.bind(history));
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -151,7 +151,8 @@ $(document).ready(function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
updateHistory();
|
|
||||||
|
Config.reset(updateHistory);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,7 @@ $(document).ready(function() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
history.reset();
|
Config.reset(history.reset.bind(history));
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue