Commits

Luke Plant committed 38a789f

Fixed bug with IE putting string 'null' into fields on copying.

Comments (0)

Files changed (1)

templates/cciw/bookings/add_place.html

                        if (mainform[attr].type == 'checkbox') {
                            mainform[attr].checked = place[attr];
                        } else {
+                           if (place[attr] == null) {
+                               place[attr] = "";
+                           }
                            mainform[attr].value = place[attr];
                        }
                        // If details are copied from something saved,