Prise en charge du mode « StandaloneBrowser » qui est actuellement utilisé par le...
[ckeditor.git] / skins / ckeditor / filemanager / browser / mac_finder / browser.html.dtml
index 1762c04..0b3234a 100644 (file)
                                                window.close();
                                      }
                                            break;
+               case 'StandaloneBrowser' :
+                   if (li.className == 'contentish-selected') {
+                                               window.opener.SetUrl(li.link);
+                                               window.close();
+                                     }
+                                           break;
                                  case '' :
                                  case '_blank' :
                                      var funcNum = GetUrlParam('CKEditorFuncNum');
                                                case 'PlinnImageDialog' :
                                                            window.parent.updateOrInsertImage(url);
                                                              break;
+                                                       case 'StandaloneBrowser' :
+                                                           window.opener.SetUrl(url);
+                                                           break;
                                                  default:
                                                      var funcNum = GetUrlParam('CKEditorFuncNum');
                                                      window.opener.CKEDITOR.tools.callFunction(funcNum, url);