incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g..@apache.org
Subject svn commit: r1327026 - /incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/web_ui/__init__.py
Date Tue, 17 Apr 2012 10:15:31 GMT
Author: gjm
Date: Tue Apr 17 10:15:31 2012
New Revision: 1327026

URL: http://svn.apache.org/viewvc?rev=1327026&view=rev
Log:
dashboard: fix second load of dashboard - get widgets schema instead of popping

Modified:
    incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/web_ui/__init__.py

Modified: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/web_ui/__init__.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/web_ui/__init__.py?rev=1327026&r1=1327025&r2=1327026&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/web_ui/__init__.py (original)
+++ incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/web_ui/__init__.py Tue Apr
17 10:15:31 2012
@@ -228,7 +228,7 @@ class DashboardModule(Component):
         """Expand raw widget data and format it for use in template
         """
         # TODO: Implement dynamic dashboard specification
-        widgets_spec = schema.pop('widgets', {})
+        widgets_spec = schema.get('widgets', {})
         widgets_index = dict([wnm, wp] \
                 for wp in DashboardSystem(self.env).widget_providers \
                 for wnm in wp.get_widgets()



Mime
View raw message