projects
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prise en charge du mode « StandaloneBrowser » qui est actuellement utilisé par le...
[ckeditor.git]
/
skins
/
ckeditor
/
filemanager
/
browser
/
mac_finder
/
browser.html.dtml
diff --git
a/skins/ckeditor/filemanager/browser/mac_finder/browser.html.dtml
b/skins/ckeditor/filemanager/browser/mac_finder/browser.html.dtml
index
1012d69
..
0b3234a
100644
(file)
--- a/
skins/ckeditor/filemanager/browser/mac_finder/browser.html.dtml
+++ b/
skins/ckeditor/filemanager/browser/mac_finder/browser.html.dtml
@@
-91,13
+91,20
@@
return;
}
switch(window.parent.name) {
return;
}
switch(window.parent.name) {
- case '
FCKeditorDialog_PlinnImage
' :
+ case '
PlinnImageDialog
' :
if (li.className == 'contentish-selected') {
window.parent.updateOrInsertImage(li.link);
window.close();
}
break;
if (li.className == 'contentish-selected') {
window.parent.updateOrInsertImage(li.link);
window.close();
}
break;
+ case 'StandaloneBrowser' :
+ if (li.className == 'contentish-selected') {
+ window.opener.SetUrl(li.link);
+ window.close();
+ }
+ break;
case '' :
case '' :
+ case '_blank' :
var funcNum = GetUrlParam('CKEditorFuncNum');
window.opener.CKEDITOR.tools.callFunction(funcNum, li.link);
window.close();
var funcNum = GetUrlParam('CKEditorFuncNum');
window.opener.CKEDITOR.tools.callFunction(funcNum, li.link);
window.close();
@@
-299,10
+306,12
@@
createLinkBtn.onclick = function(){
var url = respDom.lastChild.firstChild.nodeValue;
switch(window.parent.name) {
createLinkBtn.onclick = function(){
var url = respDom.lastChild.firstChild.nodeValue;
switch(window.parent.name) {
- case '
FCKeditorDialog_PlinnImage
' :
+ case '
PlinnImageDialog
' :
window.parent.updateOrInsertImage(url);
break;
window.parent.updateOrInsertImage(url);
break;
- case 'FCKBrowseWindow' :
+ case 'StandaloneBrowser' :
+ window.opener.SetUrl(url);
+ break;
default:
var funcNum = GetUrlParam('CKEditorFuncNum');
window.opener.CKEDITOR.tools.callFunction(funcNum, url);
default:
var funcNum = GetUrlParam('CKEditorFuncNum');
window.opener.CKEDITOR.tools.callFunction(funcNum, url);