Prise en charge du mode « StandaloneBrowser » qui est actuellement utilisé par le...
authorBenoît Pin <pin@cri.ensmp.fr>
Tue, 30 Aug 2011 11:07:57 +0000 (13:07 +0200)
committerBenoît Pin <pin@cri.ensmp.fr>
Tue, 30 Aug 2011 11:07:57 +0000 (13:07 +0200)
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);