fixed title-lookup during edit-course
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Fri, 22 Jan 2010 03:20:58 +0000 (03:20 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Fri, 22 Jan 2010 03:20:58 +0000 (03:20 +0000)
commitffac1a804ff616634e43d174cc783c15b4af2605
treeeabd394401919c6c67d416bfe90b4cc88dc7ffc1
parentcde961e8d11b9a6d421e99a5fb572b281bfc061e
fixed title-lookup during edit-course

The buggy version had a bad hard-coded prefix in the lookup-title
URL. I've added a ROOT variable in JavaScript, set to the URL prefix
(the SCRIPT_NAME) of the Syrup instance; and now we use this to
correctly find the lookup-title service.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@763 6d9bc8c9-1ec2-4278-b937-99fde70a366f
conifer/static/edit_course.js
conifer/templates/edit_course.xhtml
conifer/templates/master.xhtml