update header handling
This commit is contained in:
@@ -12,7 +12,9 @@ if (session_data.getSessionData("address_book") != null) {
|
||||
data = ``
|
||||
for (let i = 0; i < address_book.length; i++) {
|
||||
data += address_book[i].name + '\0' + address_book[i].address + '\0'
|
||||
};
|
||||
};
|
||||
} else {
|
||||
session_data.setSessionData("address_book", [])
|
||||
}
|
||||
|
||||
// TODO: Why does the address book have a blank/corrupt entry when empty?
|
||||
|
||||
Reference in New Issue
Block a user