details: /erp/devel/pi/rev/baaa347f564f
changeset: 13104:baaa347f564f
user: Martin Taal <martin.taal <at> openbravo.com>
date: Tue Jul 05 18:23:13 2011 +0200
summary: Solved typos
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
| 10 +++++-----
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
| 8 ++++----
2 files changed, 9 insertions(+), 9 deletions(-)
diffs (70 lines):
diff -r 89b11e5682fb -r baaa347f564f
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
Tue Jul 05 15:48:42 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
Tue Jul 05 18:23:13 2011 +0200
@@ -33,11 +33,11 @@
escapeHTML: true,
bodyKeyPress : function (event, eventInfo) {
- var cltrAltShiftDown = isc.EventHandler.ctrlKeyDown() ||
isc.EventHandler.altKeyDown() || isc.EventHandler.shiftKeyDown(),
+ var ctrlAltShiftDown = isc.EventHandler.ctrlKeyDown() ||
isc.EventHandler.altKeyDown() || isc.EventHandler.shiftKeyDown(),
onlyAltDown = !isc.EventHandler.ctrlKeyDown() &&
isc.EventHandler.altKeyDown() && !isc.EventHandler.shiftKeyDown(),
onlyAltShiftDown = !isc.EventHandler.ctrlKeyDown() &&
isc.EventHandler.altKeyDown() && isc.EventHandler.shiftKeyDown();
- if (event.keyName === 'F' && !cltrAltShiftDown) {
+ if (event.keyName === 'F' && !ctrlAltShiftDown) {
this.focusInFirstFilterEditor();
return false;
}
@@ -129,11 +129,11 @@
};
setFieldsKeyDown = function(item, form, keyName) {
- var cltrAltShiftDown = isc.EventHandler.ctrlKeyDown() ||
isc.EventHandler.altKeyDown() || isc.EventHandler.shiftKeyDown(),
+ var ctrlAltShiftDown = isc.EventHandler.ctrlKeyDown() ||
isc.EventHandler.altKeyDown() || isc.EventHandler.shiftKeyDown(),
onlyAltDown = !isc.EventHandler.ctrlKeyDown() &&
isc.EventHandler.altKeyDown() && !isc.EventHandler.shiftKeyDown(),
noCtrlAltDown = !isc.EventHandler.ctrlKeyDown() &&
!isc.EventHandler.altKeyDown();
- if (event.keyName === 'Escape' && !cltrAltShiftDown &&
this.getEditForm()) {
+ if (event.keyName === 'Escape' && !ctrlAltShiftDown &&
this.getEditForm()) {
this.cancelEditing();
return false;
}
@@ -142,7 +142,7 @@
thisGrid.clearFilter(true);
return false;
}
- if (isc.EventHandler.getKeyName() === 'Escape' && !cltrAltShiftDown) {
+ if (isc.EventHandler.getKeyName() === 'Escape' && !ctrlAltShiftDown) {
thisGrid.focus();
return false;
}
diff -r 89b11e5682fb -r baaa347f564f
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
Tue Jul 05 15:48:42 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
Tue Jul 05 18:23:13 2011 +0200
@@ -427,14 +427,14 @@
keyPress: function() {
var event = isc.EventHandler.lastEvent, editRow,
- cltrAltShiftDown = isc.EventHandler.ctrlKeyDown() ||
isc.EventHandler.altKeyDown() || isc.EventHandler.shiftKeyDown();
+ ctrlAltShiftDown = isc.EventHandler.ctrlKeyDown() ||
isc.EventHandler.altKeyDown() || isc.EventHandler.shiftKeyDown();
- if (event.keyName === 'Escape' && !cltrAltShiftDown && this.getEditForm())
{
+ if (event.keyName === 'Escape' && !ctrlAltShiftDown && this.getEditForm())
{
this.cancelEditing();
return false;
}
- if (event.keyName === 'Arrow_Up' && !cltrAltShiftDown &&
this.getEditForm()) {
+ if (event.keyName === 'Arrow_Up' && !ctrlAltShiftDown &&
this.getEditForm()) {
// editing can be cancelled as all fields are
// non-editable anyway if we get here...
editRow = this.getEditRow();
@@ -445,7 +445,7 @@
return false;
}
- if (event.keyName === 'Arrow_Down' && !cltrAltShiftDown &&
this.getEditForm()) {
+ if (event.keyName === 'Arrow_Down' && !ctrlAltShiftDown &&
this.getEditForm()) {
// editing can be cancelled as all fields are
// non-editable anyway if we get here...
editRow = this.getEditRow();
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits