Commits

Luke Plant  committed e0bd811

Fixed javascript bug that caused copying of place details not to work

  • Participants
  • Parent commits 55c0be3
  • Branches bookings

Comments (0)

Files changed (1)

File templates/cciw/bookings/add_place.html

                for (var i=0; i < places.length; i++) {
                    var place = places[i];
                    var html = ("<label><input type='radio' name='use_which_booking' value='" +
-                       i.toString() + "'>" + escape(place.name) + " " +
-                       place.created.substr(0,4) + "<br/>" +
+                       i.toString() + "'>" + escape(place.first_name + " " + place.last_name)
+                       + " " + place.created.substr(0,4) + "<br/>" +
                        "&nbsp;&nbsp; Post code: " + escape(place.post_code) + "<br/>" +
                        "&nbsp;&nbsp; GP: " + escape(place.gp_name) + "</label><br/>" );
                    cont.append(html);