details: https://code.openbravo.com/erp/devel/pi/rev/db224c38b097
changeset: 13649:db224c38b097
user: Javier Etxarri <javier.echarri <at> openbravo.com>
date: Thu Sep 01 16:46:56 2011 +0200
summary: Fixes issue 18337: Standard (UI Pattern) process definition does not
allow collecting record,
id-s of multiple selection (grid view).Now, button are only visible if you
have only one record selected.
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-toolbar.js
| 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 0af160c34527 -r db224c38b097
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-toolbar.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-toolbar.js
Thu Sep 01 14:34:57 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-toolbar.js
Thu Sep 01 16:46:56 2011 +0200
@@ -1007,6 +1007,7 @@
// This is needed to prevent JSLint complaining about "Don't make
functions within a loop.
var callbackHandler = function (currentContext, me) {
return function(response, data, request) {
+ var noneOrMultipleRecordsSelected =
currentContext.viewGrid.getSelectedRecords().length !== 1 && !isNew;
var sessionAttributes = data.sessionAttributes, auxInputs =
data.auxiliaryInputValues, attachmentExists = data.attachmentExists, prop;
if (sessionAttributes) {
currentContext.viewForm.sessionAttributes = sessionAttributes;
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits