Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: chrome/content/survey.js

Issue 8382011: Applied changes from emailed code review (Closed)
Patch Set: Created Sept. 28, 2012, 1:40 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/content/options.xul ('k') | chrome/content/survey.xul » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « chrome/content/options.xul ('k') | chrome/content/survey.xul » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld