Skip to content
Snippets Groups Projects
Verified Commit cc7294fe authored by Gabriel Zachmann's avatar Gabriel Zachmann
Browse files

[web] set profile = "custom" if request is filled from query

parent 5ed339c7
No related branches found
No related tags found
No related merge requests found
Pipeline #368384 passed
...@@ -137,7 +137,6 @@ function fillGUIFromRequestData(req) { ...@@ -137,7 +137,6 @@ function fillGUIFromRequestData(req) {
fillGUIWithMaybeTemplate(req.restrictions, "restr", set_restrictions_in_gui, mtPrefix); fillGUIWithMaybeTemplate(req.restrictions, "restr", set_restrictions_in_gui, mtPrefix);
fillGUIWithMaybeTemplate(req.rotation, "rot", set_rotation_in_gui, mtPrefix); fillGUIWithMaybeTemplate(req.rotation, "rot", set_rotation_in_gui, mtPrefix);
fillGUIWithMaybeTemplate(req.capabilities, "cap", set_capabilities_in_gui, mtPrefix); fillGUIWithMaybeTemplate(req.capabilities, "cap", set_capabilities_in_gui, mtPrefix);
} }
function fillPropertiesFromQuery() { function fillPropertiesFromQuery() {
...@@ -151,6 +150,7 @@ function fillPropertiesFromQuery() { ...@@ -151,6 +150,7 @@ function fillPropertiesFromQuery() {
const req_str = window.atob(base64); const req_str = window.atob(base64);
const req = JSON.parse(req_str); const req = JSON.parse(req_str);
fillGUIFromRequestData(req); fillGUIFromRequestData(req);
$(prefixId(`profile-template`, mtPrefix)).val("");
} }
$mtOIDCIss.on('changed.bs.select', function () { $mtOIDCIss.on('changed.bs.select', function () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment