OLD | NEW |
| (Empty) |
1 /* | |
2 * This Source Code is subject to the terms of the Mozilla Public License | |
3 * version 2.0 (the "License"). You can obtain a copy of the License at | |
4 * http://mozilla.org/MPL/2.0/. | |
5 */ | |
6 | |
7 window.addEventListener("DOMContentLoaded", function(event) | |
8 { | |
9 let stringBundle = require("survey").getSurveyDialogTexts(); | |
10 | |
11 E("survey").setAttribute("title", stringBundle.title); | |
12 E("icon").setAttribute("src", require("info").addonRoot + "icon64.png"); | |
13 E("question").textContent = stringBundle.question; | |
14 E("note").textContent = stringBundle.note; | |
15 E("accept").textContent = stringBundle.accept; | |
16 E("decline").textContent = stringBundle.decline; | |
17 }, false); | |
18 | |
19 function onAccept() | |
20 { | |
21 require("survey").openSurvey(); | |
22 } | |
23 | |
24 function onCancel() | |
25 { | |
26 } | |
OLD | NEW |