Migration du code gestionnaire d'événement double-clic pour l'insertion d'un lien.
authorBenoît Pin <pin@cri.ensmp.fr>
Tue, 16 Aug 2011 12:25:41 +0000 (14:25 +0200)
committerBenoît Pin <pin@cri.ensmp.fr>
Tue, 16 Aug 2011 12:25:41 +0000 (14:25 +0200)
skins/ckeditor/filemanager/browser/mac_finder/browser.html.dtml

index 84232c8..1012d69 100644 (file)
@@ -97,8 +97,9 @@
                                                window.close();
                                      }
                                            break;
                                                window.close();
                                      }
                                            break;
-                                 case 'FCKBrowseWindow' :
-                                                       window.opener.SetUrl(li.link);
+                                 case '' :
+                                     var funcNum = GetUrlParam('CKEditorFuncNum');
+                                     window.opener.CKEDITOR.tools.callFunction(funcNum, li.link);
                                                        window.close();
                                                        break;
            }
                                                        window.close();
                                                        break;
            }