Ça devrait le faire. Maintenant, on va passer au tests / ajustements.
[ckeditor.git] / skins / ckeditor / filemanager / browser / mac_finder / browser.html.dtml
index 84232c8..1762c04 100644 (file)
                        return;
                  }
                  switch(window.parent.name) {
-               case 'FCKeditorDialog_PlinnImage' :
+               case 'PlinnImageDialog' :
                    if (li.className == 'contentish-selected') {
                                                window.parent.updateOrInsertImage(li.link);
                                                window.close();
                                      }
                                            break;
-                                 case 'FCKBrowseWindow' :
-                                                       window.opener.SetUrl(li.link);
+                                 case '' :
+                                 case '_blank' :
+                                     var funcNum = GetUrlParam('CKEditorFuncNum');
+                                     window.opener.CKEDITOR.tools.callFunction(funcNum, li.link);
                                                        window.close();
                                                        break;
            }
                                        createLinkBtn.onclick = function(){
                                            var url = respDom.lastChild.firstChild.nodeValue;
                                            switch(window.parent.name) {
-                                               case 'FCKeditorDialog_PlinnImage' :
+                                               case 'PlinnImageDialog' :
                                                            window.parent.updateOrInsertImage(url);
                                                              break;
-                                                 case 'FCKBrowseWindow' :
                                                  default:
                                                      var funcNum = GetUrlParam('CKEditorFuncNum');
                                                      window.opener.CKEDITOR.tools.callFunction(funcNum, url);