Adds gravatars and firstnames

This commit is contained in:
nikolark committed 2012-02-23 03:28:52 +01:00
1 parent c05e8f9aa4
commit 85071ba6af
6 files changed
+15 -63

No files matched your search

+2 -2
View File
@@ -33,8 +33,8 @@ $(document).ready(function() {
/* Disable the customer button just clicked */
$(this).addClass("marked");
/* Update the typeahead field */
var username = $(this).children("span.name").text()
$("#id_customer_typeahead").val(username);
var name = $(this).children("span.name").text()
$("#id_customer_typeahead").val(name);
/* Update the select field */
var id = $(this).children("span.id").text()
$("#id_user option").removeAttr('selected');
+2 -2
View File
@@ -33,8 +33,8 @@ $(document).ready(function() {
/* Disable the customer button just clicked */
$(this).addClass("marked");
/* Update the typeahead field */
var username = $(this).children("span.name").text()
$("#id_customer_typeahead").val(username);
var name = $(this).children("span.name").text()
$("#id_customer_typeahead").val(name);
/* Update the select field */
var id = $(this).children("span.id").text()
$("#id_customer option").removeAttr('selected');