When armo/weap/misc drop down are selected, item display is properly updated, and item is properly saved, so far

This commit is contained in:
Hash Borgir
2023-05-30 18:43:17 -06:00
parent 87a9ca1658
commit ec45a9c1b6
3 changed files with 16 additions and 22 deletions

View File

@@ -118,16 +118,7 @@
</span>
<span class="form-text">Index: the ID pointer that is referenced by the game in TreasureClassEx.txt and CubeMain.txt, this column also contains the string-key used in the TBL files.</span>
</div>
<div class="col-2" style="background: #fec;">
<p>Code</p>
<div class="input-group">
<input name="code" type="text" aria-describedby="codeHelpBlock" required="required" class="form-control input-ucode">
</div><span class="help"><i class="fa fa-question-circle" aria-hidden="true"></i>
</span>
<span class="form-text">Enter a 3 or 4 letter unique item code</span>
</div>
<div class="col-2" style="background: #eed;">
<p>Version:</p>
<div class="custom-control custom-radio custom-control-inline">
@@ -217,7 +208,7 @@
<div class="col-2" style="background: #bbb;">
<p>Armor</p>
<select class="a-select custom-select code" name="code" required="required">
<select class="a-select custom-select code" name="code[]" required="required">
<option value=""></option>
<?php
foreach ($armor as $a)