Bugfix pour les navigateurs chrome, safari et IE. Les liens « Supprimer » dans l...
authorBenoît Pin <pin@cri.ensmp.fr>
Mon, 29 Aug 2011 08:34:01 +0000 (10:34 +0200)
committerBenoît Pin <pin@cri.ensmp.fr>
Mon, 29 Aug 2011 08:34:01 +0000 (10:34 +0200)
skins/ckeditor/plugins/plinn_image/dialog/embedded_images.html.pt

index 4a438b9..462dfa2 100644 (file)
                <script type="text/javascript" language="javascript" charset="utf-8" src="DHTMLapi.js"></script>
                <script type="text/javascript">
                <!--
                <script type="text/javascript" language="javascript" charset="utf-8" src="DHTMLapi.js"></script>
                <script type="text/javascript">
                <!--
-               // var FCK = window.parent.FCK;
-               // var contentPath = FCK.Config.contentPath;
-    // 
-               // var FCKConfig = window.parent.FCKConfig;
-               // var connUrl = FCKConfig.AttachmentBrowserConnectorUrl;
-               
                var editor = window.parent.editor;
                var contentPath = editor.contentPath;
                var connUrl = window.parent.editor.config.attachmentBrowserConnectorUrl;
                var editor = window.parent.editor;
                var contentPath = editor.contentPath;
                var connUrl = window.parent.editor.config.attachmentBrowserConnectorUrl;
                                spanButton.className = 'button';
                                var a = document.createElement('a');
                                a.href = '#';
                                spanButton.className = 'button';
                                var a = document.createElement('a');
                                a.href = '#';
-                               a.text = "Supprimer";
+                               a.innerHTML = "Supprimer";
                                a.name = 'suppr';
                                spanButton.appendChild(a);
                                slide.appendChild(spanButton);
                                a.name = 'suppr';
                                spanButton.appendChild(a);
                                slide.appendChild(spanButton);