details:   https://code.openbravo.com/erp/devel/pi/rev/6c97f1746be3
changeset: 16543:6c97f1746be3
user:      Guillermo Álvarez de Eulate <guillermo.alvarez <at> openbravo.com>
date:      Tue May 15 16:18:36 2012 +0200
summary:   Fixed issue 20471: Quick launch selection now is cleaned before each 
use

Before this fix the quicklauch was saving the previous highlighted line so in 
the next use of the quicklaunch the selected item was not the first

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-quick-launch.js
 |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 43022c08ec0b -r 6c97f1746be3 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-quick-launch.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-quick-launch.js
        Tue May 15 16:16:24 2012 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-quick-launch.js
        Tue May 15 16:18:36 2012 +0200
@@ -104,6 +104,8 @@
 
     if (valueField.pickList) {
       valueField.pickList.deselectAllRecords();
+      valueField.pickList.clearLastHilite();
+      valueField.pickList.scrollRecordIntoView(0);
     }
     valueField.setValue(null);
     valueField.setElementValue('', null);

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to