Approved.

IWBN to know how this got lost...

On 2008-11-06, at 09:21PST, [EMAIL PROTECTED] wrote:

Author: hqm
Date: 2008-11-06 09:21:23 -0800 (Thu, 06 Nov 2008)
New Revision: 11700

Modified:
  openlaszlo/trunk/lps/components/debugger/debugger.lzx
Log:
Change 20081106-hqm-K by [EMAIL PROTECTED] on 2008-11-06 09:19:23 PST
   in /Users/hqm/openlaszlo/trunk4
   for http://svn.openlaszlo.org/openlaszlo/trunk

Summary:  fix persisted swf debugger command history

New Features:

Bugs Fixed: LPP-7297

Technical Reviewer: ptw
QA Reviewer: promanik
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:

+ code to restore the command history from persisted data had gotten lost someplace


Tests:

+ command history in debugger persists across app reloads in swf8,swf9



Modified: openlaszlo/trunk/lps/components/debugger/debugger.lzx
===================================================================
--- openlaszlo/trunk/lps/components/debugger/debugger.lzx 2008-11-06 09:00:10 UTC (rev 11699) +++ openlaszlo/trunk/lps/components/debugger/debugger.lzx 2008-11-06 17:21:23 UTC (rev 11700)
@@ -548,6 +548,10 @@
  <![CDATA[
       // restore persistedDataed data
this.persistedData = LzBrowserKernel.getPersistedObject('__lzdebugger');
+       if (this.persistedData) {
+ this.commandhistory = this.persistedData.data.commandhistory;
+           this.commandhistory_ptr = this.commandhistory.length;
+       }
       if (this.persist && this.persistedData) {
           for (var i in this.persistedData.data) {
               if (this[i] != null) {


_______________________________________________
Laszlo-checkins mailing list
[EMAIL PROTECTED]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to