details: https://code.openbravo.com/erp/devel/pi/rev/f2585e9deaf5
changeset: 15486:f2585e9deaf5
user: David Baz Fayos <david.baz <at> openbravo.com>
date: Wed Feb 15 16:58:28 2012 +0100
summary: Fixed issue 19779: 'Double-click' is not possible anymore in new
process buttons
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-action-button.js
| 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r 2948cefbfb78 -r f2585e9deaf5
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-action-button.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-action-button.js
Wed Feb 15 13:49:51 2012 +0100
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-action-button.js
Wed Feb 15 16:58:28 2012 +0100
@@ -85,6 +85,7 @@
// obuiapp_process definition
if (this.newDefinition) {
+ me.setDisabled(true); // To avoid button could be clicked twice
callbackFunction = function () {
standardWindow.openProcess({
processId: me.processId,
@@ -93,6 +94,7 @@
actionHandler: me.command,
buttons: me.labelValue
});
+ me.setDisabled(false); // Activate again the button
};
theView.setContextInfo(sessionProperties, callbackFunction, true);
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits