Grammalecte  Check-in [dce23987ab]

Overview
Comment:[fx] move openURL to parent object
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | fx | webext2
Files: files | file ages | folders
SHA3-256: dce23987ab740cccfd65ab940ed265a1f04f86da36158d0101531ec464948704
User & Date: olr on 2017-08-29 16:09:53
Other Links: branch diff | manifest | tags
Context
2017-08-30
10:31
[fx] openURL in main panel check-in: 327355a98f user: olr tags: fx, webext2
2017-08-29
16:09
[fx] move openURL to parent object check-in: dce23987ab user: olr tags: fx, webext2
16:08
[fx] open URL from tooltip check-in: 9be9daf794 user: olr tags: fx, webext2
Changes

Modified gc_lang/fr/webext/content_scripts/gc_content.js from [69ff038986] to [94e9ffb049].

268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
            window.setTimeout(function() { xClipboardButton.textContent = "∑"; } , 2000);
        }
        catch (e) {
            showError(e);
        }
        this.stopWaitIcon();
    }

    openURL (sURL) {
        xPort.postMessage({
            sCommand: "openURL",
            dParam: {"sURL": sURL},
            dInfo: {}
        });
    }
}


class GrammalecteTooltip {

    constructor (xContentNode) {
        this.xTooltip = createNode("div", {id: "grammalecte_tooltip"});







<
<
<
<
<
<
<
<







268
269
270
271
272
273
274








275
276
277
278
279
280
281
            window.setTimeout(function() { xClipboardButton.textContent = "∑"; } , 2000);
        }
        catch (e) {
            showError(e);
        }
        this.stopWaitIcon();
    }








}


class GrammalecteTooltip {

    constructor (xContentNode) {
        this.xTooltip = createNode("div", {id: "grammalecte_tooltip"});

Modified gc_lang/fr/webext/content_scripts/panels_content.js from [51927cd000] to [021953158b].

130
131
132
133
134
135
136



137

138
139
140
141
142
143
144
    }

    stopWaitIcon () {
        this.xWaitIcon.style.visibility = "hidden";
    }

    openURL (sURL) {



        // todo

    }
}


/*
    Common functions
*/







>
>
>
|
>







130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
    }

    stopWaitIcon () {
        this.xWaitIcon.style.visibility = "hidden";
    }

    openURL (sURL) {
        xPort.postMessage({
            sCommand: "openURL",
            dParam: {"sURL": sURL},
            dInfo: {}
        });
    }
}


/*
    Common functions
*/