mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-10-13 08:24:24 -05:00
Bug: When saving new item in Unique Item Editor, item code is saved as 'Array' from PHP, so I need to generate an item code that hasn't been used already.
tabs/UniqueItems.php, add code input field. app.js, add 'code' input field change function Fixed
This commit is contained in:
@@ -186,7 +186,9 @@ $(document).ready(function () {
|
||||
$("input[name='index']").keyup(function () {
|
||||
$(".itemindex").html($(this).val());
|
||||
});
|
||||
|
||||
$("input[name='code']").keyup(function () {
|
||||
$(".itemcode").html("Item Code: (" + $(this).val() + ")");
|
||||
});
|
||||
$('input[name="lvl"]').keyup(function () {
|
||||
$(".itemlvl").html("Level: " + $(this).val());
|
||||
});
|
||||
|
Reference in New Issue
Block a user