Skip to content

Commit

Permalink
Dev Fixed incorrect path on installations outside root dir.
Browse files Browse the repository at this point in the history
Dev Currently using CKEditors basePath as a reference, we should get a
Dev LimeSurvey object to supply is with the relevant information.
  • Loading branch information
SamMousa committed Dec 11, 2012
1 parent 25207dd commit 4beee4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/admin/emailtemplates.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function openKCFinder_singleFile(target) {
window.KCFinder = {};
window.KCFinder.target = target;
window.KCFinder.callBack = KCFinder_callback;
window.open('/third_party/kcfinder/browse.php?opener=custom&type=files&CKEditor=email_invite_en&langCode=en', 'kcfinder_single', 'height=600px, width=800px, modal=yes');
window.open(CKEDITOR.basePath + '../kcfinder/browse.php?opener=custom&type=files&CKEditor=email_invite_en&langCode=en', 'kcfinder_single', 'height=600px, width=800px, modal=yes');
}

$('#attachment-relevance-editor button').click(function()
Expand Down

0 comments on commit 4beee4f

Please sign in to comment.