[fusion-commits] r2741 - in trunk/widgets: . QuickPlot

svn_fusion at osgeo.org svn_fusion at osgeo.org
Wed Jun 26 01:46:55 PDT 2013


Author: jng
Date: 2013-06-26 01:46:55 -0700 (Wed, 26 Jun 2013)
New Revision: 2741

Modified:
   trunk/widgets/QuickPlot.js
   trunk/widgets/QuickPlot/QuickPlotPanel.js
Log:
QuickPlot: Tweak window re-focus

Modified: trunk/widgets/QuickPlot/QuickPlotPanel.js
===================================================================
--- trunk/widgets/QuickPlot/QuickPlotPanel.js	2013-06-26 07:46:57 UTC (rev 2740)
+++ trunk/widgets/QuickPlot/QuickPlotPanel.js	2013-06-26 08:46:55 UTC (rev 2741)
@@ -119,8 +119,6 @@
         document.getElementById("SubTitleCtrl").style.display = "none";
         document.getElementById("SubTitleLabel").style.display = "none";
     }
-    
-    this.focus();
 }
 
 function setAdvancedOptionsUI(enabled)

Modified: trunk/widgets/QuickPlot.js
===================================================================
--- trunk/widgets/QuickPlot.js	2013-06-26 07:46:57 UTC (rev 2740)
+++ trunk/widgets/QuickPlot.js	2013-06-26 08:46:55 UTC (rev 2741)
@@ -188,7 +188,8 @@
             } 
             else 
             {
-                window.open(url, this.sTarget, this.sFeatures);
+                var win = window.open(url, this.sTarget, this.sFeatures);
+                win.focus();
             }
         }
         



More information about the fusion-commits mailing list