[open-ils-commits] r152 - servres/trunk/conifer/static (gfawcett)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Mar 8 16:01:50 EDT 2009
Author: gfawcett
Date: 2009-03-08 16:01:46 -0400 (Sun, 08 Mar 2009)
New Revision: 152
Modified:
servres/trunk/conifer/static/add_new_course.js
Log:
bugfix: title-lookup error when changing course-code during course-edit.
Modified: servres/trunk/conifer/static/add_new_course.js
===================================================================
--- servres/trunk/conifer/static/add_new_course.js 2009-03-08 20:01:43 UTC (rev 151)
+++ servres/trunk/conifer/static/add_new_course.js 2009-03-08 20:01:46 UTC (rev 152)
@@ -3,7 +3,7 @@
// code is a SELECT, so we add a callback to lookup titles.
$('#id_code').change(function() {
$('#id_title')[0].disabled=true;
- $.getJSON('ajax_title', {course_code: $(this).val()},
+ $.getJSON('/syrup/course/new/ajax_title', {course_code: $(this).val()},
function(resp) {
$('#id_title').val(resp.title)
$('#id_title')[0].disabled=false;
More information about the open-ils-commits
mailing list