You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by gj...@apache.org on 2012/06/28 12:01:40 UTC

svn commit: r1354893 - /incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/product_admin.py

Author: gjm
Date: Thu Jun 28 10:01:39 2012
New Revision: 1354893

URL: http://svn.apache.org/viewvc?rev=1354893&view=rev
Log:
multiproduct: add a get_admin_commands method to ProductAdminPanel to stop admin command errors - closes #117

Modified:
    incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/product_admin.py

Modified: incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/product_admin.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/product_admin.py?rev=1354893&r1=1354892&r2=1354893&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/product_admin.py (original)
+++ incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/product_admin.py Thu Jun 28 10:01:39 2012
@@ -33,6 +33,9 @@ class ProductAdminPanel(TicketAdminPanel
     _type = 'products'
     _label = ('Product','Products')
     
+    def get_admin_commands(self): 
+        return None
+    
     def _render_admin_panel(self, req, cat, page, product):
         req.perm.require('PRODUCT_VIEW')