Use reliable card IDs to allow page pinning (for PostalPoint 0.49)
This commit is contained in:
parent
9e190b45bd
commit
4955e1a395
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "postalpoint_custom_web_tools",
|
"name": "postalpoint_custom_web_tools",
|
||||||
"version": "1.0.0",
|
"version": "1.1.0",
|
||||||
"main": "plugin.js",
|
"main": "plugin.js",
|
||||||
"author": "PostalPortal LLC",
|
"author": "PostalPortal LLC",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
|
|||||||
@ -16,7 +16,7 @@ exports.init = function () {
|
|||||||
}
|
}
|
||||||
global.apis.ui.addToolsPage(function () {
|
global.apis.ui.addToolsPage(function () {
|
||||||
global.apis.ui.openInternalWebBrowser(urls[i]);
|
global.apis.ui.openInternalWebBrowser(urls[i]);
|
||||||
}, titles[i], "", (titles[i] == urls[i] ? "" : urls[i]), titles[i], "fa-duotone fa-globe-pointer", "function");
|
}, titles[i], "customwebtools_" + encodeURIComponent(urls[i]), (titles[i] == urls[i] ? "" : urls[i]), titles[i], "fa-duotone fa-globe-pointer", "function");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user