[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kupu-checkins
Subject:    [kupu-checkins] r11449 - kupu/branch/kupu-1.2/common
From:       guido () codespeak ! net
Date:       2005-04-26 9:57:16
Message-ID: 20050426095716.D21BE27B97 () code1 ! codespeak ! net
[Download RAW message or body]

Author: guido
Date: Tue Apr 26 11:57:16 2005
New Revision: 11449

Modified:
   kupu/branch/kupu-1.2/common/kupueditor.js
Log:
Fixed bug where a single name was used for two different things (so in the end
the variable value was wrong). Thanks to Ken Lalonde for the bug report and 
a patch.


Modified: kupu/branch/kupu-1.2/common/kupueditor.js
==============================================================================
--- kupu/branch/kupu-1.2/common/kupueditor.js	(original)
+++ kupu/branch/kupu-1.2/common/kupueditor.js	Tue Apr 26 11:57:16 2005
@@ -273,8 +273,8 @@
         window.status= "Please wait while saving document...";
 
         // call (optional) beforeSave() method on all tools
-        for (var id in this.tools) {
-            var tool = this.tools[id];
+        for (var tid in this.tools) {
+            var tool = this.tools[tid];
             if (tool.beforeSave) {
                 try {
                     tool.beforeSave();

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic