remind user to reload the page to view updated data, if any
Limitation of windowman.search.js
This commit is contained in:
parent
5b738b1a25
commit
944f9097a5
2 changed files with 252 additions and 245 deletions
|
@ -198,8 +198,11 @@
|
||||||
"saving_done": {
|
"saving_done": {
|
||||||
"message": "Saved!"
|
"message": "Saved!"
|
||||||
},
|
},
|
||||||
"entry_contextMenu": {
|
"saving_reload_title": {
|
||||||
"message": "Open in ShopAI…"
|
"message": "The data might have been updated."
|
||||||
|
},
|
||||||
|
"saving_reload_body": {
|
||||||
|
"message": "If you did not make the change from this tab, you can view it by reloading this page."
|
||||||
},
|
},
|
||||||
|
|
||||||
"scrape_msg_0": {
|
"scrape_msg_0": {
|
||||||
|
|
|
@ -244,6 +244,10 @@ export default class UI {
|
||||||
|
|
||||||
element.addEventListener(`change`, async function () {find(element)});
|
element.addEventListener(`change`, async function () {find(element)});
|
||||||
find(element);
|
find(element);
|
||||||
|
|
||||||
|
observe(() => {
|
||||||
|
new logging(texts.localized(`saving_reload_title`), texts.localized(`saving_reload_body`));
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
return (SEARCH);
|
return (SEARCH);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue