details: https://code.openbravo.com/erp/devel/pi/rev/6239626a1593
changeset: 17976:6239626a1593
user: Augusto Mauch <augusto.mauch <at> openbravo.com>
date: Tue Sep 18 17:35:57 2012 +0200
summary: Fixes issue 21538: Message shown when a P&E window has an implicit
filter
When the grid of a P&E window has an implicit filter applied to it, a message
with the name of the filter will be shown on top of the grid.
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
| 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (14 lines):
diff -r af32d2655e73 -r 6239626a1593
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
Tue Sep 18 16:50:46 2012 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
Tue Sep 18 17:35:57 2012 +0200
@@ -100,6 +100,10 @@
// required to show the funnel icon and to work
this.filterClause = this.gridProperties.filterClause;
+ if (this.filterClause && this.gridProperties.filterName) {
+ this.view.messageBar.setMessage(isc.OBMessageBar.TYPE_INFO, '<div><div
class="' + OB.Styles.MessageBar.leftMsgContainerStyle + '">' +
this.gridProperties.filterName + '<br/>' +
OB.I18N.getLabel('OBUIAPP_ClearFilters') + '</div></div>', ' ');
+ this.view.messageBar.hasFilterMessage = true;
+ }
this.orderByClause = this.gridProperties.orderByClause;
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits