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

List:       kupu-checkins
Subject:    [kupu-checkins] r49184 - in kupu/trunk/kupu: common doc
From:       duncan () codespeak ! net
Date:       2007-11-27 14:29:35
Message-ID: 20071127142935.A138B81BB () code0 ! codespeak ! net
[Download RAW message or body]

Author: duncan
Date: Tue Nov 27 15:29:28 2007
New Revision: 49184

Modified:
   kupu/trunk/kupu/common/kupu_kjax.js
   kupu/trunk/kupu/common/sarissa.js
   kupu/trunk/kupu/doc/CHANGES.txt
Log:
Fix Plone issue #7387: sarissa's importNode for IE wasn't handling text nodes \
correctly. Also fixed a problem where kupu_kjax could serve up a cached response.


Modified: kupu/trunk/kupu/common/kupu_kjax.js
==============================================================================
--- kupu/trunk/kupu/common/kupu_kjax.js	(original)
+++ kupu/trunk/kupu/common/kupu_kjax.js	Tue Nov 27 15:29:28 2007
@@ -57,9 +57,7 @@
                 // a web server expects from a POST.
                 xmlhttp.setRequestHeader('content-type', \
'application/x-www-form-urlencoded');  };
-            if (reload) {
-                xmlhttp.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 \
                00:00:00 GMT");
-            }
+            xmlhttp.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 \
GMT");  this.xmlhttp = xmlhttp;
             xmlhttp.send(body);
         } catch(e) {

Modified: kupu/trunk/kupu/common/sarissa.js
==============================================================================
--- kupu/trunk/kupu/common/sarissa.js	(original)
+++ kupu/trunk/kupu/common/sarissa.js	Tue Nov 27 15:29:28 2007
@@ -464,7 +464,7 @@
         document.importNode = function(oNode, bChildren){
             var tmp;
             if (oNode.nodeName=='#text') {
-                return document.createTextElement(oNode.data);
+                return document.createTextNode(oNode.data);
             }
             else {
                 if(oNode.nodeName == "tbody" || oNode.nodeName == "tr"){

Modified: kupu/trunk/kupu/doc/CHANGES.txt
==============================================================================
--- kupu/trunk/kupu/doc/CHANGES.txt	(original)
+++ kupu/trunk/kupu/doc/CHANGES.txt	Tue Nov 27 15:29:28 2007
@@ -2,6 +2,17 @@
 Kupu changes
 ============
 
+- SVN unreleased
+
+  - Fixed unit tests for the transform (they now use a real image instead of a \
mockup) +
+  - Fixed the transform to preserve links around images.
+
+  - Plone tickets
+
+    * 7377 Making an Image a Link within Kupu renders the link tag at the top of the \
content page +    * 7387 Kupu-Commit Selected Changes button missing when converting \
UID=>Relative Link +
 - 1.4.4
 
   - Enabled Safari support (needs webkit nightly build and Safari 3)
_______________________________________________
kupu-checkins mailing list
kupu-checkins@codespeak.net
http://codespeak.net/mailman/listinfo/kupu-checkins


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

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