New Software: Difference between revisions
Jump to navigation
Jump to search
(Fix issue of not resetting software) |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 56: | Line 56: | ||
// Condition | // Condition | ||
document.getElementById("sc-Box_Condition").value = ""; | document.getElementById("sc-Box_Condition").value = ""; | ||
document.getElementById("sc-Box_Type").value = ""; | |||
// Photo file | // Photo file | ||
Line 168: | Line 169: | ||
"Location", | "Location", | ||
"Box Condition", | "Box Condition", | ||
"Box Type", | |||
"Media Format", | "Media Format", | ||
"Platform", | "Platform", | ||
Line 176: | 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 249: | Line 255: | ||
.done(make_page) // Make page after upload finished | .done(make_page) // Make page after upload finished | ||
.fail(function (data) { | .fail(function (data) { | ||
console.log(data); | if ( data = "fileexists-no-change" ) | ||
{ | |||
make_page(); | |||
} | |||
console.log(data); | |||
}); | }); | ||
} | } | ||
Line 316: | Line 326: | ||
<option value="2 - Corner tears, bad crushing, bad fading">2 - Corner tears, bad crushing, bad fading</option> | <option value="2 - Corner tears, bad crushing, bad fading">2 - Corner tears, bad crushing, bad fading</option> | ||
<option value="1 - Water damage, missing parts, bleached">1 - Water damage, missing parts, bleached</option> | <option value="1 - Water damage, missing parts, bleached">1 - Water damage, missing parts, bleached</option> | ||
</select> | |||
</div> | |||
<div> | |||
<label for="sc-Box_Type">Box Type:</label> | |||
<select id="sc-Box_Type"> | |||
<option value="">Select Package Type...</option> | |||
<option value="Big Box">Big Box</option> | |||
<option value="Small Box">Small Box</option> | |||
<option value="DVD Case">DVD Case</option> | |||
<option value="Jewel Case">Jewel Case</option> | |||
<option value="Collector's Edition">Collector's Edition</option> | |||
<option value="Binder">Binder</option> | |||
<option value="Clamshell">Clamshell</option> | |||
<option value="Other">Other</option> | |||
</select> | </select> | ||
Latest revision as of 19:17, 27 September 2024