Fixed and closed #367: image Edit buttons now work in any namespace.
This commit is contained in:
parent
980056c487
commit
99ef640d48
3 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@
|
|||
|
||||
function OpenPopupImageEditor(file) {
|
||||
var settings = "center=yes,resizable=yes,dialog,status=no,scrollbars=no,width=560,height=400";
|
||||
window.open(CurrentNamespace + "ImageEditor.aspx?File=" + file, "Popup", settings);
|
||||
window.open(CurrentNamespace + (CurrentNamespace != "" ? "." : "") + "ImageEditor.aspx?File=" + file, "Popup", settings);
|
||||
return false;
|
||||
}
|
||||
// -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue