[Laszlo-checkins] r14128 - in openlaszlo/branches/4.4: . WEB-INF/lps/lfc/services lps/includes/source

ptw@openlaszlo.org ptw at openlaszlo.org
Fri Jun 12 12:35:19 PDT 2009


Author: ptw
Date: 2009-06-12 12:35:15 -0700 (Fri, 12 Jun 2009)
New Revision: 14128

Modified:
   openlaszlo/branches/4.4/
   openlaszlo/branches/4.4/WEB-INF/lps/lfc/services/LzModeManager.lzs
   openlaszlo/branches/4.4/lps/includes/source/embednew.js
Log:
Merged revisions 14127 via svnmerge from 
http://svn.openlaszlo.org/openlaszlo/trunk

.......
  r14127 | ptw | 2009-06-12 14:49:14 -0400 (Fri, 12 Jun 2009) | 22 lines
  
  Change 20090611-ptw-8 by ptw at dueling-banjos.home on 2009-06-11 16:11:19 EDT
      in /Users/ptw/OpenLaszlo/trunk
      for http://svn.openlaszlo.org/openlaszlo/trunk
  
  Summary: Ensure DHTML app has focus when loaded
  
  Bugs Fixed: LPP-8242 OL4.4 - DHTML: The UP, DOWN keys and space bar are invalid for Textlistitem on WinXP/FF3
  
  Technical Reviewer: a.bargull at intensis.de (Message-ID: <4A32460B.5050708 at udo.edu>)
  QA Reviewer: dju at laszlosystems.com (pending)
  
  Details:
      LzModeManager:  Removed some platform-specific code that is no
      longer necessary now that all platforms use the same debugger.
  
      embednew:  Restore window focus for Firefox on Windows once the
      DHTML application is added to the DOM
  
  Tests:
      Test case from bug
.......



Property changes on: openlaszlo/branches/4.4
___________________________________________________________________
Name: svnmerge-integrated
   - /openlaszlo/branches/4.1:1-10153 /openlaszlo/branches/4.2:1-12154,12181,13205,13778 /openlaszlo/branches/devildog:1-8432 /openlaszlo/branches/pagan-deities:1-7955,8825,10756-10920,10922-10928,10930-10935,11151,11207,11554,13476,13629 /openlaszlo/branches/paperpie:1-6504,6506-6574,6576-7135,7137-7235 /openlaszlo/branches/wafflecone:1-5746,5818-6068,6070-6205,6207-6213,6216-6265,6267-6368,6370-6431,6433-6450,6497,6509,6661,7097,7872 /openlaszlo/trunk:1-13938,13940-13945,13947-13952,13954-13968,13970,13972-13980,13982-13985,13987-14015,14017-14032,14034,14036-14069,14071-14109,14116,14124
   + /openlaszlo/branches/4.1:1-10153 /openlaszlo/branches/4.2:1-12154,12181,13205,13778 /openlaszlo/branches/devildog:1-8432 /openlaszlo/branches/pagan-deities:1-7955,8825,10756-10920,10922-10928,10930-10935,11151,11207,11554,13476,13629 /openlaszlo/branches/paperpie:1-6504,6506-6574,6576-7135,7137-7235 /openlaszlo/branches/wafflecone:1-5746,5818-6068,6070-6205,6207-6213,6216-6265,6267-6368,6370-6431,6433-6450,6497,6509,6661,7097,7872 /openlaszlo/trunk:1-13938,13940-13945,13947-13952,13954-13968,13970,13972-13980,13982-13985,13987-14015,14017-14032,14034,14036-14069,14071-14109,14116,14124,14127

Modified: openlaszlo/branches/4.4/WEB-INF/lps/lfc/services/LzModeManager.lzs
===================================================================
--- openlaszlo/branches/4.4/WEB-INF/lps/lfc/services/LzModeManager.lzs	2009-06-12 18:49:14 UTC (rev 14127)
+++ openlaszlo/branches/4.4/WEB-INF/lps/lfc/services/LzModeManager.lzs	2009-06-12 19:35:15 UTC (rev 14128)
@@ -179,14 +179,8 @@
                         this.remotedebug = (lz.Browser.getInitArg("lzconsoledebug") == "true");
                     }
                 }
-                if ($as2) {
-                    if (!this.remotedebug && view.childOf(Debug.console))
-                        break;
-                } else if ($as3) {
-                    if (!this.remotedebug && view.childOf(Debug.console.window))
-                        break;
-                } else if ($dhtml) {
-                    // DHTML-Debugger is not part of the lzx-application
+                if (!this.remotedebug && view.childOf(Debug.console.window)) {
+                  break;
                 }
             }
 
@@ -229,14 +223,8 @@
                     this.remotedebug = (lz.Browser.getInitArg("lzconsoledebug") == "true");
                 }
             }
-            if ($as2) {
-                if (!this.remotedebug && input.childOf(Debug.console))
-                    return true;
-            } else if ($as3) {
-                if (!this.remotedebug && input.childOf(Debug.console.window))
-                    return true;
-            } else if ($dhtml) {
-                // DHTML-Debugger is not part of the lzx-application
+            if (!this.remotedebug && input.childOf(Debug.console.window)) {
+              return true;
             }
         }
 

Modified: openlaszlo/branches/4.4/lps/includes/source/embednew.js
===================================================================
--- openlaszlo/branches/4.4/lps/includes/source/embednew.js	2009-06-12 18:49:14 UTC (rev 14127)
+++ openlaszlo/branches/4.4/lps/includes/source/embednew.js	2009-06-12 19:35:15 UTC (rev 14128)
@@ -261,6 +261,8 @@
         }
 
         this.__dhtmlLoadScript(url)
+        // Make sure we have focus (see LPP-8242)
+        if (lz.embed.browser.OS == 'Windows' && lz.embed.browser.isFirefox) { window.focus(); }
     }
     ,/** A hash of applications installed on the page keyed by id */
     applications: {}



More information about the Laszlo-checkins mailing list