Differences From Artifact [326c22ae1a]:
- File gc_lang/fr/webext/background.js — part of check-in [9be9daf794] at 2017-08-29 16:08:00 on branch webext2 — [fx] open URL from tooltip (user: olr, size: 7823) [annotate] [blame] [check-ins using]
To Artifact [9d2c8ffd1c]:
- File gc_lang/fr/webext/background.js — part of check-in [f02079aa95] at 2017-08-30 12:55:39 on branch webext2 — [fx] open conjugueur with wrapper buttons + code revamping (user: olr, size: 8025) [annotate] [blame] [check-ins using]
| ︙ | |||
131 132 133 134 135 136 137 138 139 140 141 142 143 144 | 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | + + + + + + |
case "getListOfTokens":
oRequest.dInfo.iReturnPort = iPortId; // we pass the id of the return port to receive answer
xGCEWorker.postMessage(oRequest);
break;
case "openURL":
browser.tabs.create({url: dParam.sURL});
break;
case "openConjugueurTab":
openConjugueurTab();
break;
case "openConjugueurWindow":
openConjugueurWindow();
break;
default:
console.log("[background] Unknown command: " + sCommand);
console.log(oRequest);
}
});
xPort.postMessage({sActionDone: "newId", result: iPortId});
}
|
| ︙ |