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

List:       kupu-checkins
Subject:    [kupu-checkins] r39156 - in kupu/trunk/kupu/plone: .
From:       duncan () codespeak ! net
Date:       2007-02-18 14:13:18
Message-ID: 20070218141318.3C00A101EC () code0 ! codespeak ! net
[Download RAW message or body]

Author: duncan
Date: Sun Feb 18 15:13:16 2007
New Revision: 39156

Modified:
   kupu/trunk/kupu/plone/body.kupu
   kupu/trunk/kupu/plone/kupu_plone_layer/kupu_wysiwyg_support.html
Log:
Add id and name attributes to kupu iframe

Modified: kupu/trunk/kupu/plone/body.kupu
==============================================================================
--- kupu/trunk/kupu/plone/body.kupu	(original)
+++ kupu/trunk/kupu/plone/body.kupu	Sun Feb 18 15:13:16 2007
@@ -15,7 +15,9 @@
         tal:define="base python:here.kupu_library_tool.getBaseUrl(here, True);
                     base kupu_base_override|base;"
         tal:attributes="src string:${base}/emptypage;
-                        tabindex tabindex/next|nothing;"
+                        tabindex tabindex/next|nothing;
+			id string:kupu-editor-iframe-${fname};
+			name string:kupu-editor-iframe-${fname};"
         >
     </iframe>
      <input type="hidden" name="text_format:default" value="text/html"

Modified: kupu/trunk/kupu/plone/kupu_plone_layer/kupu_wysiwyg_support.html
==============================================================================
--- kupu/trunk/kupu/plone/kupu_plone_layer/kupu_wysiwyg_support.html	(original)
+++ kupu/trunk/kupu/plone/kupu_plone_layer/kupu_wysiwyg_support.html	Sun Feb 18 \
15:13:16 2007 @@ -13,15 +13,15 @@
     <!--$Id: sourceedit.kupu 9779 2005-03-15 11:34:47Z duncan $-->
     <!--$Id: contextmenu.kupu 9520 2005-02-26 16:30:23Z duncan $-->
     <!--$Id: toolbar.kupu 27597 2006-05-22 14:27:32Z guido $-->
-    <!--$Id: toolboxes.kupu 16467 2005-08-25 11:08:10Z guido $-->
+    <!--$Id: toolboxes.kupu 37754 2007-02-01 17:24:29Z yuppie $-->
     <!--$Id: colorchooser.kupu 35491 2006-12-08 15:41:49Z duncan $-->
     <!--$Id: save.kupu 9520 2005-02-26 16:30:23Z duncan $-->
-    <!--$Id: drawers.kupu 32938 2006-10-06 06:56:24Z guido $-->
+    <!--$Id: drawers.kupu 37754 2007-02-01 17:24:29Z yuppie $-->
     <!--$Id: include.kupu 35491 2006-12-08 15:41:49Z duncan $-->
     <!--$Id: wire.kupu 25247 2006-04-03 11:23:02Z fschulze $-->
     <!--$Id: head.kupu 34332 2006-11-07 14:50:40Z duncan $-->
     <!--$Id: xmlconfig.kupu 35367 2006-12-06 09:06:21Z duncan $-->
-    <!--$Id: body.kupu 34311 2006-11-07 11:18:23Z duncan $-->
+    <!--$Id: body.kupu 35853 2006-12-18 15:33:46Z duncan $-->
     <!--$Id: toolbar.kupu 35491 2006-12-08 15:41:49Z duncan $-->
     <!--$Id: drawers.kupu 35477 2006-12-08 13:20:38Z duncan $-->
     <!--$Id: beforeunload.kupu 14546 2005-07-12 14:35:55Z duncan $-->
@@ -341,9 +341,10 @@
                   </td>
                 </tr>
                 <tr>
-                  <th class="kupu-toolbox-label" \
i18n:translate="tabledrawer_fix_table_label">Fix Table</th> +                  <th \
class="kupu-toolbox-label" i18n:translate="tabledrawer_table_label">Table</th>  <td>
                     <button class="kupu-dialog-button" type="button" \
i18n:translate="tabledrawer_fix_button" \
onclick="drawertool.current_drawer.fixTable()">Fix</button>  +                    \
<button class="kupu-dialog-button" type="button" \
i18n:translate="tabledrawer_remove_button" \
onclick="drawertool.current_drawer.delTable()">Remove</button>   </td>
                 </tr>
               </table>
@@ -424,7 +425,7 @@
     </table>
   <script type="text/javascript">var focuscount = 0;</script>
     <div>
-    <iframe class="kupu-editor-iframe" frameborder="0" src="emptypage" \
onfocus="this.contentWindow.focus();" tal:define="base \
python:here.kupu_library_tool.getBaseUrl(here, True);                     base \
kupu_base_override|base;" tal:attributes="src string:${base}/emptypage;               \
tabindex tabindex/next|nothing;"> +    <iframe class="kupu-editor-iframe" \
frameborder="0" src="emptypage" onfocus="this.contentWindow.focus();" \
tal:define="base python:here.kupu_library_tool.getBaseUrl(here, True);                \
base kupu_base_override|base;" tal:attributes="src string:${base}/emptypage;          \
tabindex tabindex/next|nothing;    id string:kupu-editor-iframe-${fname};    name \
string:kupu-editor-iframe-${fname};">  </iframe>
      <input type="hidden" name="text_format:default" value="text/html" \
tal:define="fieldName fieldName|inputname|nothing;                 val \
python:fieldName and 'text/html' or 'html';                 fieldName \
python:test(fieldName, fieldName+'_', '') + 'text_format:default';" \
tal:attributes="name fieldName;value val;"/>  <tal:test \
condition="fieldName|nothing">


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

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