details:   https://code.openbravo.com/erp/devel/pi/rev/9f4f2629b7ff
changeset: 21101:9f4f2629b7ff
user:      Shankar Balachandran <shankar.balachandran <at> openbravo.com>
date:      Mon Sep 09 16:35:02 2013 +0530
summary:   Fixes Issue 0024698: When opening a window two request to save the 
view on recent view section are send

When launching a menu through quick launch, two calls to save the Recent view 
is made.
One is happening in the quick launch and other in the default openView method.
Removed the code to add to recent view in quick launch.
The same code is accessed when creating a new record through create new record 
so the issue is fixed there too.

diffstat:

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

diffs (11 lines):

diff -r 3f6d559f65bc -r 9f4f2629b7ff 
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
        Sun Sep 08 17:36:53 2013 +0530
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-quick-launch.js
        Mon Sep 09 16:35:02 2013 +0530
@@ -23,7 +23,6 @@
   recentObject: null,
   prefixLabel: null,
   action: function () {
-    OB.RecentUtilities.addRecent(this.recentPropertyName, this.recentObject);
     if (this.recentObject.viewId) {
       OB.Layout.ViewManager.openView(this.recentObject.viewId, 
this.recentObject);
     } else {

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to