mirror of
https://github.com/leoherzog/TorrentParts.git
synced 2026-01-24 04:08:04 -08:00
Re-Display After Changes
This commit is contained in:
@@ -12089,7 +12089,6 @@ function getFontAwesomeIconForMimetype(mimetype) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function propertyChange(e) {
|
function propertyChange(e) {
|
||||||
console.log(e);
|
|
||||||
if (e.target.dataset.group) {
|
if (e.target.dataset.group) {
|
||||||
parsed[e.target.dataset.group][e.target.dataset.index] = e.target.value;
|
parsed[e.target.dataset.group][e.target.dataset.index] = e.target.value;
|
||||||
} else {
|
} else {
|
||||||
@@ -12098,7 +12097,7 @@ function propertyChange(e) {
|
|||||||
if (e.target.id != "creationDate") creationDate.value = new Date().toISOString().slice(0, 19);
|
if (e.target.id != "creationDate") creationDate.value = new Date().toISOString().slice(0, 19);
|
||||||
createdBy.value = "Torrent Parts <https://torrent.parts/>";
|
createdBy.value = "Torrent Parts <https://torrent.parts/>";
|
||||||
parsed.createdBy = "Torrent Parts <https://torrent.parts/>";
|
parsed.createdBy = "Torrent Parts <https://torrent.parts/>";
|
||||||
console.log(parsed);
|
display();
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://stackoverflow.com/a/36899900/2700296
|
// https://stackoverflow.com/a/36899900/2700296
|
||||||
|
|||||||
3
parse.js
3
parse.js
@@ -203,7 +203,6 @@ function getFontAwesomeIconForMimetype(mimetype) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function propertyChange(e) {
|
function propertyChange(e) {
|
||||||
console.log(e);
|
|
||||||
if (e.target.dataset.group) {
|
if (e.target.dataset.group) {
|
||||||
parsed[e.target.dataset.group][e.target.dataset.index] = e.target.value;
|
parsed[e.target.dataset.group][e.target.dataset.index] = e.target.value;
|
||||||
} else {
|
} else {
|
||||||
@@ -212,7 +211,7 @@ function propertyChange(e) {
|
|||||||
if (e.target.id != "creationDate") creationDate.value = new Date().toISOString().slice(0, 19);
|
if (e.target.id != "creationDate") creationDate.value = new Date().toISOString().slice(0, 19);
|
||||||
createdBy.value = "Torrent Parts <https://torrent.parts/>";
|
createdBy.value = "Torrent Parts <https://torrent.parts/>";
|
||||||
parsed.createdBy = "Torrent Parts <https://torrent.parts/>";
|
parsed.createdBy = "Torrent Parts <https://torrent.parts/>";
|
||||||
console.log(parsed);
|
display();
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://stackoverflow.com/a/36899900/2700296
|
// https://stackoverflow.com/a/36899900/2700296
|
||||||
|
|||||||
Reference in New Issue
Block a user