Migration du code gestionnaire d'événement double-clic pour l'insertion d'un lien.
[ckeditor.git] / skins / ckeditor / filemanager / browser / mac_finder / browser.html.dtml
index be15cd2..1012d69 100644 (file)
@@ -97,8 +97,9 @@
                                                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;
            }
                                                              break;
                                                  case 'FCKBrowseWindow' :
                                                  default:
-                                                               window.opener.SetUrl(url);
+                                                     var funcNum = GetUrlParam('CKEditorFuncNum');
+                                                     window.opener.CKEDITOR.tools.callFunction(funcNum, url);
                                                                break;
                                            }
                                            window.close();