mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-06 13:25:46 +01:00
Redraw Dashboard Charts when collapsing/expanding the sidebar
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
* Definitive fix for multi form submission in Microsoft Edge causing the Save to not work [#694](https://github.com/getgrav/grav-plugin-admin/issues/694)
|
* Definitive fix for multi form submission in Microsoft Edge causing the Save to not work [#694](https://github.com/getgrav/grav-plugin-admin/issues/694)
|
||||||
* Fix issue with calculating the `theme_url` with `open_basedir` restrictions [#699](https://github.com/getgrav/grav-plugin-admin/issues/699)
|
* Fix issue with calculating the `theme_url` with `open_basedir` restrictions [#699](https://github.com/getgrav/grav-plugin-admin/issues/699)
|
||||||
* Check for null payload before going on [#526](https://github.com/getgrav/grav-plugin-admin/issues/526)
|
* Check for null payload before going on [#526](https://github.com/getgrav/grav-plugin-admin/issues/526)
|
||||||
|
* Redraw Dashboard Charts when collapsing/expanding the sidebar
|
||||||
|
|
||||||
# v1.1.1
|
# v1.1.1
|
||||||
## 07/14/2016
|
## 07/14/2016
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ $(global).on('sidebar_state._grav', () => {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
Object.keys(Dashboard.Chart.Instances).forEach((chart) => {
|
Object.keys(Dashboard.Chart.Instances).forEach((chart) => {
|
||||||
Dashboard.Chart.Instances[chart].chart.update();
|
setTimeout(() => Dashboard.Chart.Instances[chart].chart.update(), 10);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
28
themes/grav/js/admin.min.js
vendored
28
themes/grav/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
46
themes/grav/js/vendor.min.js
vendored
46
themes/grav/js/vendor.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user