mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-29 10:37:33 +09:00
parent
9a8a5cb244
commit
63bf5c049c
1 changed files with 1 additions and 2 deletions
|
|
@ -62,13 +62,12 @@ function doEnabling()
|
||||||
|
|
||||||
function open()
|
function open()
|
||||||
{
|
{
|
||||||
Task.spawn(function() {
|
getShortcutOrURIAndPostData(dialog.input.value).then(data => {
|
||||||
let url;
|
let url;
|
||||||
let postData = null;
|
let postData = null;
|
||||||
let mayInheritPrincipal = false;
|
let mayInheritPrincipal = false;
|
||||||
|
|
||||||
if (browser) {
|
if (browser) {
|
||||||
let data = yield browser.getShortcutOrURIAndPostData(dialog.input.value);
|
|
||||||
url = data.url;
|
url = data.url;
|
||||||
postData = data.postData;
|
postData = data.postData;
|
||||||
mayInheritPrincipal = data.mayInheritPrincipal;
|
mayInheritPrincipal = data.mayInheritPrincipal;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue