details: https://code.openbravo.com/erp/devel/pi/rev/45fb52770d50
changeset: 19660:45fb52770d50
user: David Baz Fayos <david.baz <at> openbravo.com>
date: Tue Feb 12 16:18:40 2013 +0100
summary: Related to issue 23029: Added license restrictions - microfix
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
| 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 9ca29f4331b0 -r 45fb52770d50
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
Tue Feb 12 15:51:34 2013 +0100
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
Tue Feb 12 16:18:40 2013 +0100
@@ -53,7 +53,7 @@
// Used in the 'Role' window, in the 'For Portal Users' onchange field
// It shows a warning dialog, if Portal is not available due to license
restrictions
OB.Utilities.notifyIfPortalIsNotAllowed = function (item, view, form, grid) {
- if (item.getValue()) {
+ if (item.getValue() && OB.Application.licenseType === 'C') {
OB.Utilities.checkProfessionalLicense(OB.I18N.getLabel('OBUIAPP_ActivateMessagePortal'));
item.setValue(false);
}
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits