account page: fixed platform reordering bugs

This commit is contained in:
2026-01-28 02:14:27 -07:00
parent a50c0ef18d
commit 8f38f141e5
8 changed files with 141 additions and 72 deletions
-5
View File
@@ -114,9 +114,6 @@
const dragAttr = GetAttribute(drag, "hx-drag");
const dropAttr = GetAttribute(drop, "hx-drop");
console.log('dragAttr:', dragAttr);
console.log('dropAttr:', dropAttr);
const dragVals = JSON.parse(GetAttribute(drag, "hx-drag") || "{}");
const dropVals = JSON.parse(GetAttribute(drop, "hx-drop") || "{}");
@@ -159,8 +156,6 @@
values = Object.assign({}, dragVals, dropVals);
}
console.log('action:', action)
if (action === null) return;
try { // don't let one failure cascade to the other ajax