mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 1185042 - Correctly send the checked status of the URL opt-in checkbox when submitting a crash report. r=mconley
--HG-- extra : commitid : 1jriHw2XW1m extra : amend_source : db5ceef7376ea0de3612afc11797456169c1723b
This commit is contained in:
parent
ed84104432
commit
09cd3f54fa
@ -580,12 +580,12 @@ PluginContent.prototype = {
|
||||
}
|
||||
|
||||
let runID = plugin.runID;
|
||||
let submitURLOptIn = this.getPluginUI(plugin, "submitURLOptIn");
|
||||
let submitURLOptIn = this.getPluginUI(plugin, "submitURLOptIn").checked;
|
||||
let keyVals = {};
|
||||
let userComment = this.getPluginUI(plugin, "submitComment").value.trim();
|
||||
if (userComment)
|
||||
keyVals.PluginUserComment = userComment;
|
||||
if (this.getPluginUI(plugin, "submitURLOptIn").checked)
|
||||
if (submitURLOptIn)
|
||||
keyVals.PluginContentURL = plugin.ownerDocument.URL;
|
||||
|
||||
this.global.sendAsyncMessage("PluginContent:SubmitReport",
|
||||
|
Loading…
Reference in New Issue
Block a user