Grammalecte  Check-in [39c185125f]

Overview
Comment:[fx] WebExt: create window: panel type is deprecated
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256: 39c185125fe0bccf85d0290da47e0f3ff01fba320918feb6403add7b3a397a0b
User & Date: olr on 2017-09-27 11:14:50
Other Links: manifest | tags
Context
2017-09-27
11:21
[fx] WebExt: adaptation to Chrome: conj initialisation check-in: 898e9ae864 user: olr tags: trunk, fx
11:14
[fx] WebExt: create window: panel type is deprecated check-in: 39c185125f user: olr tags: trunk, fx
11:04
[fx] WebExt: adaptation to Chrome: create window and tab check-in: b81808e2fa user: olr tags: trunk, fx
Changes

Modified gc_lang/fr/webext/background.js from [37339883bc] to [33ad7410c9].

312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
    xConjTab.then(onCreated, onError);
}

function openConjugueurWindow () {
    if (bChrome) {
        browser.windows.create({
            url: browser.extension.getURL("panel/conjugueur.html"),
            type: "panel",
            width: 710,
            height: 980
        });
        return;
    }
    let xConjWindow = browser.windows.create({
        url: browser.extension.getURL("panel/conjugueur.html"),
        type: "panel",
        width: 710,
        height: 980
    });
    xConjWindow.then(onCreated, onError);
}









|







|







312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
    xConjTab.then(onCreated, onError);
}

function openConjugueurWindow () {
    if (bChrome) {
        browser.windows.create({
            url: browser.extension.getURL("panel/conjugueur.html"),
            type: "popup",
            width: 710,
            height: 980
        });
        return;
    }
    let xConjWindow = browser.windows.create({
        url: browser.extension.getURL("panel/conjugueur.html"),
        type: "popup",
        width: 710,
        height: 980
    });
    xConjWindow.then(onCreated, onError);
}