[prev in list] [next in list] [prev in thread] [next in thread]
List: kupu-checkins
Subject: [epoz-checkins] r3522 - epoz/branch/plone-drawers/common
From: philikon () codespeak ! net
Date: 2004-03-30 12:49:41
Message-ID: 20040330124941.12EAC5A142 () thoth ! codespeak ! net
[Download RAW message or body]
Author: philikon
Date: Tue Mar 30 14:49:40 2004
New Revision: 3522
Modified:
epoz/branch/plone-drawers/common/kupudrawertool.js
Log:
Fix image saving.
Modified: epoz/branch/plone-drawers/common/kupudrawertool.js
==============================================================================
--- epoz/branch/plone-drawers/common/kupudrawertool.js (original)
+++ epoz/branch/plone-drawers/common/kupudrawertool.js Tue Mar 30 14:49:40 2004
@@ -467,7 +467,8 @@
return;
};
- var uri = selnode.getAttribute('id');
+ var uri = selnode.selectSingleNode('uri/text()').nodeValue;
+ uri = uri.strip(); // needs kupuhelpers.js
this.tool.createImage(uri);
var img = this.editor.getJustAddedNode();
if (img.nodeName.toLowerCase() != 'img') {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic