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

Unified Diff: chrome/content/survey.js

Issue 8382011: Applied changes from emailed code review (Closed)
Patch Set: Created Sept. 28, 2012, 11:09 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/content/survey.js
===================================================================
deleted file mode 100644
--- a/chrome/content/survey.js
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * This Source Code is subject to the terms of the Mozilla Public License
- * version 2.0 (the "License"). You can obtain a copy of the License at
- * http://mozilla.org/MPL/2.0/.
- */
-
-window.addEventListener("DOMContentLoaded", function(event)
-{
- let stringBundle = require("survey").getSurveyDialogTexts();
-
- E("survey").setAttribute("title", stringBundle.title);
- E("icon").setAttribute("src", require("info").addonRoot + "icon64.png");
- E("question").textContent = stringBundle.question;
- E("note").textContent = stringBundle.note;
- E("accept").textContent = stringBundle.accept;
- E("decline").textContent = stringBundle.decline;
-}, false);
-
-function onAccept()
-{
- require("survey").openSurvey();
-}
-
-function onCancel()
-{
-}
« no previous file with comments | « chrome/content/options.xul ('k') | chrome/content/survey.xul » ('j') | lib/survey.js » ('J')

Powered by Google App Engine
This is Rietveld