Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017853Openbravo ERPA. Platformpublic2011-06-30 15:322011-07-06 02:43
rgoris 
mtaal 
highmajoralways
closedfixed 
5
 
3.0MP1 
Core
No
0017853: ESC to cancel does not work for read-only rows when edited
Somehow this is logical but still not nice for the user. Since the row is readonly, nothing is changed and the edit mode never starts. Still, ESC should be the exit for the user.
Select a booked sales order
Press pen button to get into edit mode
Row cant be edited (because it is booked)
Now you want to press the ESC key to cancel
Nothing happens
One of the two solutions:
(1) Do not allow editing at all for readonly rows (hide pen icon, and Edit item in context menu)
(2) Do allow editing (well, sort of) but make sure ESC works.

(1) is much better but what I understood,much more work. So maybe implementing ESC for the time being is best.
No tags attached.
png ESC-to-cancel.png (139,272) 2011-06-30 15:32
https://issues.openbravo.com/file_download.php?file_id=4265&type=bug
png
Issue History
2011-06-30 15:32rgorisNew Issue
2011-06-30 15:32rgorisAssigned To => mtaal
2011-06-30 15:32rgorisFile Added: ESC-to-cancel.png
2011-06-30 15:32rgorisModules => Core
2011-07-01 23:27hgbotCheckin
2011-07-01 23:27hgbotNote Added: 0038700
2011-07-01 23:27hgbotStatusnew => resolved
2011-07-01 23:27hgbotResolutionopen => fixed
2011-07-01 23:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f0ea5cc1072f10bc6e5da02c3a5e9786883a2005 [^]
2011-07-02 15:05rgorisNote Added: 0038702
2011-07-02 15:05rgorisStatusresolved => closed
2011-07-02 16:44hgbotCheckin
2011-07-02 16:44hgbotNote Added: 0038708
2011-07-02 16:45hgbotCheckin
2011-07-02 16:45hgbotNote Added: 0038709
2011-07-02 18:20hgbotCheckin
2011-07-02 18:20hgbotNote Added: 0038719
2011-07-06 02:42hudsonbotCheckin
2011-07-06 02:42hudsonbotNote Added: 0038861
2011-07-06 02:42hudsonbotCheckin
2011-07-06 02:42hudsonbotNote Added: 0038866
2011-07-06 02:43hudsonbotCheckin
2011-07-06 02:43hudsonbotNote Added: 0038867
2011-07-06 02:43hudsonbotCheckin
2011-07-06 02:43hudsonbotNote Added: 0038871

Notes
(0038700)
hgbot   
2011-07-01 23:27   
Repository: erp/devel/pi
Changeset: f0ea5cc1072f10bc6e5da02c3a5e9786883a2005
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Jul 01 23:25:51 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f0ea5cc1072f10bc6e5da02c3a5e9786883a2005 [^]

Fixes issue 17853: ESC to cancel does not work for read-only rows when edited

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0038702)
rgoris   
2011-07-02 15:05   
Excellent fixes again Martin :-)
(0038708)
hgbot   
2011-07-02 16:44   
Repository: erp/devel/pi
Changeset: 7c5f9bf662ac8435b0e471313590bc17822c755c
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sat Jul 02 16:42:08 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7c5f9bf662ac8435b0e471313590bc17822c755c [^]

Related to issue 17853: ESC to cancel does not work for read-only rows when edited
Added check on ctrl, alt, shft keys and return false

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
---
(0038709)
hgbot   
2011-07-02 16:45   
Repository: erp/devel/pi
Changeset: f16df639d37d2db3c58a10d22f5b2b5847b62e9a
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sat Jul 02 16:43:45 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f16df639d37d2db3c58a10d22f5b2b5847b62e9a [^]

Related to issue 17853: ESC to cancel does not work for read-only rows when edited, Related to issue 17836: Add Jump-to-selected-row in grid
Added check on ctrl, shft, alt and return false
Made changes for 17836 to have style controlled through the sin

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0038719)
hgbot   
2011-07-02 18:20   
Repository: erp/devel/pi
Changeset: 50f8f74bf2be18346a944f758b09d58d2f07149d
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sat Jul 02 18:19:55 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/50f8f74bf2be18346a944f758b09d58d2f07149d [^]

Related to issue 17853: ESC to cancel does not work for read-only rows when edited
Repaired wrong key combination setting

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
---
(0038861)
hudsonbot   
2011-07-06 02:42   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/f1c481b1a146 [^]

Maturity status: Test
(0038866)
hudsonbot   
2011-07-06 02:42   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/f1c481b1a146 [^]

Maturity status: Test
(0038867)
hudsonbot   
2011-07-06 02:43   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/f1c481b1a146 [^]

Maturity status: Test
(0038871)
hudsonbot   
2011-07-06 02:43   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/f1c481b1a146 [^]

Maturity status: Test