diff options
author | sgiehl <stefangiehl@gmail.com> | 2012-03-10 03:10:08 +0400 |
---|---|---|
committer | sgiehl <stefangiehl@gmail.com> | 2012-03-10 03:10:08 +0400 |
commit | 0b5e89c669df628427a8361298c9f99e0a3b9219 (patch) | |
tree | ffc08a19f4e93c48cfdbbc39f01a3be441907bb8 /plugins/ExamplePlugin | |
parent | b555be5753c8200d97986ce04ad9a141b4712afb (diff) |
fixes #2979, refs #1915, refs #3011 completely refactored dashboard and widget javascripts (now using jquery plugins).
selected metrics in dashboard widgets are now stored in layout, too. also implemented some parts simplifying implementation of #3011 and #1915 and a small suggestion of #2461
git-svn-id: http://dev.piwik.org/svn/trunk@6027 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/ExamplePlugin')
-rw-r--r-- | plugins/ExamplePlugin/Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ExamplePlugin/Controller.php b/plugins/ExamplePlugin/Controller.php index 40b21e98c0..415f2efd2d 100644 --- a/plugins/ExamplePlugin/Controller.php +++ b/plugins/ExamplePlugin/Controller.php @@ -133,7 +133,7 @@ class Piwik_ExamplePlugin_Controller extends Piwik_Controller $out .= '<h3>Reload a widget in the dashboard</h3>'; $out .= 'It is sometimes useful to reload one widget in the dashboard (for example, every 20 seconds for a real time widget, or after a setting change). - You can easily force your widget to reload in the dashboard by calling the helper function <code>piwik.dashboardObject.reloadEnclosingWidget($(this));</code>.'; + You can easily force your widget to reload in the dashboard by calling the helper function <code>$(this).parents(\'[widgetId]\').dashboardWidget(\'reload\');</code>.'; $out .= '<h2>Smarty plugins</h2>'; $out .= 'There are some builtin plugins for Smarty especially developped for Piwik. <br /> |