details:   https://code.openbravo.com/erp/devel/pi/rev/2f78b1af4dea
changeset: 17668:2f78b1af4dea
user:      Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> 
openbravo.com>
date:      Tue Aug 14 12:11:13 2012 +0530
summary:   Fixes Issue 21351 : Warehouse value switch back in user profile 
widget

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-user-profile-widget.js
 |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 433a0c50b71c -r 2f78b1af4dea 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-user-profile-widget.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-user-profile-widget.js
 Tue Aug 14 09:57:47 2012 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-user-profile-widget.js
 Tue Aug 14 12:11:13 2012 +0530
@@ -285,7 +285,7 @@
           }
         }
         this.setWarehouseValueMap();
-        if (item.name !== 'warehouse') {
+        if (item.name !== 'warehouse' && item.name !== 'default') {
           if (this.getItem('warehouse').getClientPickListData().length > 0) {
             this.getItem('warehouse').moveToFirstValue();
           }

------------------------------------------------------------------------------
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