New Software: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 178: | Line 178: | ||
parameters.forEach(parameter => { | parameters.forEach(parameter => { | ||
value = get_paramter(parameter) | value = get_paramter(parameter) | ||
if (parameter == "Photo") | |||
{ | |||
value = value.replace(":", "-") | |||
} | |||
if (value) | if (value) | ||
{ | { | ||
Line 214: | Line 218: | ||
// Redirect to new page after creating it | // Redirect to new page after creating it | ||
window.location.replace("https://wiki.techtangents.net/wiki/"+get_paramter("Title").replace(" ", "_ | window.location.replace("https://wiki.techtangents.net/wiki/"+get_paramter("Title").replace(" ", "_")); | ||
} ); | } ); | ||
} | } |
Revision as of 17:44, 8 September 2024