This commit is contained in:
Babibubebon 2022-09-08 03:36:10 +09:00
parent 76d7d41d3f
commit bc8a93ce5e

View file

@ -15,7 +15,17 @@
id: tabName id: tabName
}); });
} }
try {
tab.setQuery(query); tab.setQuery(query);
} catch (error) {
tab.close();
tab = yasguiInstance.addTab(true, {
...Yasgui.Tab.getDefaults(),
requestConfig: endpoint ? {endpoint: endpoint} : yasguiInstance.config.requestConfig,
name: tabName,
id: tabName
});
}
tab.yasqe.query(); tab.yasqe.query();
} }
</script> </script>