Overview
| Comment: | [fx] WebExt: better message box |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | fx | webext3 |
| Files: | files | file ages | folders |
| SHA3-256: |
98bc28924482f60c2b7e921dcd5bc025 |
| User & Date: | olr on 2017-10-18 10:59:47 |
| Other Links: | branch diff | manifest | tags |
Context
|
2017-10-18
| ||
| 11:05 | [fx] WebExt: new num version Closed-Leaf check-in: 5523059493 user: olr tags: fx, webext3 | |
| 10:59 | [fx] WebExt: better message box check-in: 98bc289244 user: olr tags: fx, webext3 | |
| 07:58 | [fx] modify node control for editable node check-in: f31e7e5092 user: olr tags: fx, webext3 | |
Changes
Modified gc_lang/fr/webext/content_scripts/init.js from [f35577f091] to [ee010be85b].
| ︙ | |||
125 126 127 128 129 130 131 | 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | - + |
this.oGCPanel = new GrammalecteGrammarChecker("grammalecte_gc_panel", "Grammalecte", 500, 700);
this.oGCPanel.insertIntoPage();
}
},
createMessageBox: function () {
if (this.oMessageBox === null) {
|
| ︙ | |||
154 155 156 157 158 159 160 | 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 | - + |
this.oTFPanel.start(xNode);
this.oTFPanel.show();
},
showMessage: function (sMessage) {
this.createMessageBox();
this.oMessageBox.show();
|
| ︙ |
Modified gc_lang/fr/webext/content_scripts/message_box.css from [d830cc07e2] to [5ca0392419].
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | + - + + + + + + - - + + - - + + - + - - + + - + - - - - - - - - + - - - + |
/*
CSS
Message box for Grammalecte
*/
.grammalecte_message_box {
position: fixed;
padding: 0;
margin: 0;
|
Modified gc_lang/fr/webext/content_scripts/message_box.js from [26ac188379] to [4f0ad33a4a].
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | - + - - - - |
// JavaScript
// Panel creator
"use strict";
class GrammalecteMessageBox {
|
| ︙ | |||
62 63 64 65 66 67 68 | 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | - - + + - - - - + + + - - - - - |
}
hide () {
this.xMessageBox.style.display = "none";
this.clear();
}
|