Changeset 53765dd for src/main/resources/static/js/register_business.js
- Timestamp:
- 01/04/24 09:07:47 (6 months ago)
- Branches:
- master
- Children:
- e8999eb
- Parents:
- 1413ee2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/static/js/register_business.js
r1413ee2 r53765dd 2 2 var enumerations = {}; 3 3 $.ajax({ 4 url: "http://localhost:8080/api/nomenclature s/businessTypes"4 url: "http://localhost:8080/api/nomenclature/businessTypes" 5 5 }).then(function (data) { 6 6 enumerations = data; 7 7 var $el = $("#companyType"); 8 //$el.empty(); // remove old options9 8 10 9 $.each(data, function (index, obj) { … … 103 102 }); 104 103 businessObj['services'] = servicesObj; 105 console.log(businessObj);106 104 $.ajax({ 107 105 url: "http://localhost:8080/api/business", … … 113 111 alert( "Well done! You have finished the registration process. " + 114 112 "Please check periodically to see if the company has been approved." ); 115 window.location.href = "/ homepage";113 window.location.href = "/login"; 116 114 }, 117 115 error: function(err) {
Note:
See TracChangeset
for help on using the changeset viewer.