Fix path of ajax script for user select autocomplete

Add label to the field so they know what to type in
This commit is contained in:
james 2011-03-01 16:21:29 +00:00
parent 143b255375
commit 3cf5b38994

View File

@ -135,7 +135,7 @@ if($_GET['action']=='loaduser') {
echo "</tr>"; echo "</tr>";
} }
else { else {
echo "<td></td>"; echo "<td align=\"right\">".i18n("Email/username")." </td>";
echo "<td>"; echo "<td>";
emit_user_selector($f,$conference['id'],$role); emit_user_selector($f,$conference['id'],$role);
echo "</td>"; echo "</td>";
@ -303,7 +303,7 @@ function updateUser(role,schoolid) {
$("#"+role+"_row").load('schools.php?action=loaduser&role='+role+'&schoolid='+schoolid,null,function() { $("#"+role+"_row").load('schools.php?action=loaduser&role='+role+'&schoolid='+schoolid,null,function() {
$(".user_select_autocomplete").autocomplete({ $(".user_select_autocomplete").autocomplete({
source: "/sfiab/admin/user_select_autocomplete.php", source: "user_select_autocomplete.php",
select: function(event,ui) { select: function(event,ui) {
var accounts_id=ui.item.accounts_id; var accounts_id=ui.item.accounts_id;
var users_id=ui.item.users_id; var users_id=ui.item.users_id;