mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
mujma: Fixed bug with non-relative path
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41873 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
bd58e931bb
commit
6ae57bdb46
@ -10,7 +10,7 @@ var ImageEditorActivator = {
|
||||
}
|
||||
iframe = document.createElement('iframe');
|
||||
fileToEdit = $('ImageEditorActivator').firstChild.src;
|
||||
iframe.setAttribute("src","/admin/ImageEditor?fileToEdit=" + fileToEdit);
|
||||
iframe.setAttribute("src","admin/ImageEditor?fileToEdit=" + fileToEdit);
|
||||
iframe.id = 'imageEditorIframe';
|
||||
iframe.style.width = "97%";
|
||||
iframe.style.height = "300%";
|
||||
|
Loading…
Reference in New Issue
Block a user