diff options
author | Thomas ZILLIOX <thomas@zilliox.me> | 2013-11-08 18:54:44 +0400 |
---|---|---|
committer | Thomas ZILLIOX <thomas@zilliox.me> | 2013-11-08 18:54:44 +0400 |
commit | edd4e60c984e6bb740cc2a6632d7fedc731157c4 (patch) | |
tree | 158082a7269d9a6b963b25465ca1384f1337601c /plugins/Dashboard/templates | |
parent | bdb270ee5045d12276114f63ecc84c8a3f416cdd (diff) |
Hide 'Widgets & Dashboard' panel on other pages than dashboard
Diffstat (limited to 'plugins/Dashboard/templates')
-rw-r--r-- | plugins/Dashboard/templates/embeddedIndex.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dashboard/templates/embeddedIndex.twig b/plugins/Dashboard/templates/embeddedIndex.twig index cbec6bd9d7..148b9a672a 100644 --- a/plugins/Dashboard/templates/embeddedIndex.twig +++ b/plugins/Dashboard/templates/embeddedIndex.twig @@ -1,6 +1,6 @@ <script type="text/javascript"> widgetsHelper.availableWidgets = {{ availableWidgets|raw }}; - $(document).ready(function () { + $(function() { initDashboard({{ dashboardId }}, {{ dashboardLayout|raw }}); }); </script> |