details:   https://code.openbravo.com/erp/devel/pi/rev/50d7044397a5
changeset: 13859:50d7044397a5
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Wed Sep 28 17:40:28 2011 +0200
summary:   Related to issue 18587: Changes/improvement saved and named views
Prevent empty menu for community instance

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-manage-views-toolbar.js
 |  8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diffs (18 lines):

diff -r 20b2138bf26d -r 50d7044397a5 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-manage-views-toolbar.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-manage-views-toolbar.js
       Wed Sep 28 17:15:32 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-manage-views-toolbar.js
       Wed Sep 28 17:40:28 2011 +0200
@@ -48,6 +48,14 @@
       }, OB.Styles.Personalization.Menu);
     },
     
+    showMenu: function() {      
+      if (!OB.Utilities.checkProfessionalLicense(
+          OB.I18N.getLabel('OBUIAPP_ActivateMessagePersonalization'))) {
+        return;
+      }
+      return this.Super('showMenu', arguments);
+    },
+    
     // shows the menu with the available views and the save 
     // and delete option
     action: function() {

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to