Début d'intégration de la boît de dialogue d'image de Plinn. Pour l'instant, on affic...
[ckeditor.git] / skins / ckeditor / filemanager / browser / mac_finder / browser.html.dtml
index be15cd2..f279157 100644 (file)
                                                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;
            }
                                                              break;
                                                  case 'FCKBrowseWindow' :
                                                  default:
-                                                               window.opener.SetUrl(url);
+                                                     var funcNum = GetUrlParam('CKEditorFuncNum');
+                                                     window.opener.CKEDITOR.tools.callFunction(funcNum, url);
                                                                break;
                                            }
                                            window.close();