Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0000511Openbravo ERPZ. Otherspublic2008-06-02 15:092008-07-01 17:56
dbaz 
alostale 
highminoralways
closedfixed 
20Kubuntu 8.04
pi 
2.402.40alpha-r3 
Core
No
0000511: Rubbish code on ActionButton windows
For example:

Go to Warehouse Management || Transactions || Physical Inventory || Header

Press "Create Inventory Count List"

If you view source code of the html you see that

<SCRIPT language="JavaScript" type="text/javascript" id="keyMap">
var keyArray = new Array(
new keyArrayItem("", "", null, null)
);
enableShortcuts();</SCRIPT>

all the content of id="keyMap" is rubbish code since 2.40 and can damage the new keyboard shortcut structure (which is already defined later in the onLoadDo)
Remove the line
<script language="JavaScript" type="text/javascript" id="keyMap"></script>
from Template_ActionButton.html with all its dependencies
No tags attached.
Issue History
2008-06-02 15:09dbazNew Issue
2008-06-02 15:09dbazAssigned To => alostale
2008-06-02 15:09dbazStatusnew => scheduled
2008-06-02 15:10dbazRelationship deleteddepends on 0000512
2008-06-02 16:30svnbotCheckin
2008-06-02 16:30svnbotNote Added: 0000413
2008-06-02 16:30svnbotStatusscheduled => resolved
2008-06-02 16:30svnbotResolutionopen => fixed
2008-06-02 16:30svnbotsvn_revision => 4726
2008-06-03 12:27svnbotCheckin
2008-06-03 12:27svnbotNote Added: 0000417
2008-06-03 12:27svnbotsvn_revision4726 => 4746
2008-06-11 12:46cromeroTarget Version => 2.40
2008-06-11 14:33cromeroFixed in Version => 2.40alpha r3
2008-06-20 17:56plujanStatusresolved => closed
2008-07-01 17:56anonymoussf_bug_id0 => 2007916

Notes
(0000413)
svnbot   
2008-06-02 16:30   
Repository: openbravo
Revision: 4726
Author: alostale
Date: 2008-06-02 16:30:27 +0200 (Mon, 02 Jun 2008)

fixed bug 0000511: Removed all keymap usage from action buttons

---
U trunk/src-wad/src/org/openbravo/wad/ActionButton_Responser.javaxml
U trunk/src-wad/src/org/openbravo/wad/Configuration_ActionButton.xmlxml
U trunk/src-wad/src/org/openbravo/wad/Template_ActionButton.html
---

https://dev.openbravo.com/websvn/openbravo/?rev=4726&sc=1 [^]
(0000417)
svnbot   
2008-06-03 12:27   
Repository: openbravo
Revision: 4746
Author: alostale
Date: 2008-06-03 12:27:04 +0200 (Tue, 03 Jun 2008)

fixed bug 0000533: Commit for issue 0000511 didn't remove old keymap in the java class for action buttons call

---
U trunk/src-wad/src/org/openbravo/wad/javasource.javaxml
---

https://dev.openbravo.com/websvn/openbravo/?rev=4746&sc=1 [^]