We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

Bug 2190 - Define Terms does not work when path_info disabled
Define Terms does not work when path_info disabled
Status: RESOLVED FIXED
Product: OJS
Classification: Unclassified
Component: Reading Tools
2.1.1
PC Linux
: P2 normal
Assigned To: Alec Smecher
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-26 13:42 PDT by Alec Smecher
Modified: 2006-05-26 13:44 PDT (History)
1 user (show)

See Also:
Version Reported In:
Also Affects:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Smecher 2006-05-26 13:42:47 PDT
Define Terms does not work when path_info disabled
Comment 1 Alec Smecher 2006-05-26 13:44:23 PDT
To correct this: Edit templates/article/article.tpl, and in the line (139):
document.ondblclick = new Function("openSearchTermWindow('{/literal}{url
page="rt" op="context"
path=$articleId|to_array:$galleyId:$defineTermsContextId}{literal}')");

...add escape=false to the URL call, resulting in:

document.ondblclick = new Function("openSearchTermWindow('{/literal}{url
page="rt" op="context" path=$articleId|to_array:$galleyId:$defineTermsContextId
escape=false}{literal}')");