From 82a8017b5d742100f8f34e2e456b3cfcae5194eb Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Sat, 13 Apr 2024 23:39:01 +0800 Subject: [PATCH] assume that the origin error is fixed --- gui/scripts/windowman.JS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/scripts/windowman.JS b/gui/scripts/windowman.JS index 68c2e82..6950345 100644 --- a/gui/scripts/windowman.JS +++ b/gui/scripts/windowman.JS @@ -297,8 +297,8 @@ export default class windowman { // Get the corresponding storage data. let data = {}; data[`source`] = input_element.getAttribute(`data-store`); - data[`origin`] = (input_element.hasAttribute(`data-store-location`)) ? parseInt(input_element.getAttribute(`data-store-location`)) : -1 - data[`value`] = secretariat.read(data[`source`], data[`origin`]); + // data[`origin`] = (input_element.hasAttribute(`data-store-location`)) ? parseInt(input_element.getAttribute(`data-store-location`)) : -1 + data[`value`] = secretariat.read(data[`source`]); data[`value`].then(async function(value) { switch (input_element.getAttribute(`type`).toLowerCase()) {