diff --git a/components/static/cart.html b/components/static/cart.html index 230b91c307a05769aba4573943f1285311e5b30d..dac6d2cf1d00ad8779ef84609b329e70dcd32c98 100755 --- a/components/static/cart.html +++ b/components/static/cart.html @@ -158,19 +158,19 @@ <div class="form-group only-private"> <label class="col-md-4 control-label" for="c_firstname"><span class="required-star">*</span> Fornavn</label> <div class="col-md-6"> - <input id="c_name" name="c_firstname" type="text" placeholder="Fornavn" class="form-control input-md private-required" data-parsley-trigger="focusin focusout"> + <input id="c_firstname" name="c_firstname" type="text" placeholder="Fornavn" class="form-control input-md private-required" data-parsley-trigger="focusin focusout"> </div> </div> <div class="form-group only-private"> <label class="col-md-4 control-label" for="c_lastname"><span class="required-star">*</span> Etternavn</label> <div class="col-md-6"> - <input id="c_name" name="c_lastname" type="text" placeholder="Etternavn" class="form-control input-md private-required" data-parsley-trigger="focusin focusout"> + <input id="c_lastname" name="c_lastname" type="text" placeholder="Etternavn" class="form-control input-md private-required" data-parsley-trigger="focusin focusout"> </div> </div> <div class="form-group only-organization"> <label class="col-md-4 control-label" for="c_orgname"><span class="required-star">*</span> Firmanavn</label> <div class="col-md-6"> - <input id="c_name" name="c_orgname" type="text" placeholder="Firmanavn" class="form-control input-md organization-required" data-parsley-trigger="focusin focusout"> + <input id="c_orgname" name="c_orgname" type="text" placeholder="Firmanavn" class="form-control input-md organization-required" data-parsley-trigger="focusin focusout"> </div> </div> </label> @@ -639,7 +639,7 @@ data.c_name = document.getElementById( 'c_firstname' ).value+ ' ' + document.getElementById( 'c_lastname' ).value; data.c_isOrganization = 0; } else { - data.c_name = document.getElementById( 'c_orgname' ).value + data.c_name = document.getElementById( 'c_orgname' ).value; data.c_isOrganization = 1; }