mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-18 03:00:56 +01:00
Use root instead of window. initialize currentValues also in pages-all.js because form.js is not called in expert mode
This commit is contained in:
@@ -114,8 +114,8 @@
|
||||
scan(this);
|
||||
this.scanned = true;
|
||||
|
||||
//We can now initialize window.currentValues as toggleables are initialized
|
||||
window.currentValues = getState();
|
||||
//Refresh root.currentValues as toggleables have been initialized
|
||||
root.currentValues = getState();
|
||||
};
|
||||
|
||||
Form.factories = {};
|
||||
|
||||
Reference in New Issue
Block a user