Commits

Luke Plant  committed 2562ec2

Usability of 'use previous data' in 'add place' - if only one option, select it automatically.

  • Participants
  • Parent commits d85c28a
  • Branches bookings

Comments (0)

Files changed (1)

File templates/cciw/bookings/add_place.html

                        "&nbsp;&nbsp; GP: " + escape(place.gp_name) + "</label><br/>" );
                    cont.append(html);
                }
+               var btn = $('#id_use_existing_radio_container input');
+               if (btn.length == 1) {
+                   btn.attr('checked', 'checked');
+               }
            }
        };