Overview
| Comment: | [tb] remove useless console.log() |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | tb | tbnext |
| Files: | files | file ages | folders |
| SHA3-256: |
9acf544aa61a2512e7011867013a98b8 |
| User & Date: | olr on 2018-03-14 20:52:25 |
| Other Links: | branch diff | manifest | tags |
Context
|
2018-03-21
| ||
| 09:10 | [build][fr] path for Thunderbird Daily check-in: 7a4f69d41b user: olr tags: fr, build, tbnext | |
|
2018-03-14
| ||
| 20:52 | [tb] remove useless console.log() check-in: 9acf544aa6 user: olr tags: tb, tbnext | |
| 19:50 | [tb] spellchecker: tabulations to spaces check-in: ce4a3cc724 user: olr tags: tb, tbnext | |
Changes
Modified gc_lang/fr/tb/content/options.js from [239a6bffa5] to [73166a402f].
1 2 3 4 5 | // JavaScript "use strict"; | < < < < | < | 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 |
// JavaScript
"use strict";
const Cc = Components.classes;
const Ci = Components.interfaces;
const Cu = Components.utils;
const prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefService).getBranch("extensions.grammarchecker.");
var oOptControl = {
load: function () {
try {
document.getElementById('check_signature').checked = prefs.getBoolPref('bCheckSignature');
}
catch (e) {
Cu.reportError(e);
}
},
save: function () {
try {
prefs.setBoolPref('bCheckSignature', document.getElementById('check_signature').checked);
}
catch (e) {
Cu.reportError(e);
}
}
}
oOptControl.load();
|