mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1103181 - Remove quote() from about:addons/config on android/metro. r=rnewman
This commit is contained in:
parent
f471ef740b
commit
493940680e
@ -86,7 +86,7 @@ var NewPrefDialog = {
|
||||
}
|
||||
|
||||
// If item already in list, it's being changed, else added
|
||||
let item = document.querySelector(".pref-item[name=" + aPrefName.quote() + "]");
|
||||
let item = document.querySelector(".pref-item[name=\"" + CSS.escape(aPrefName) + "\"]");
|
||||
if (item) {
|
||||
this._positiveButton.textContent = gStringBundle.GetStringFromName("newPref.changeButton");
|
||||
} else {
|
||||
@ -463,7 +463,7 @@ var AboutConfig = {
|
||||
}
|
||||
|
||||
// If pref not already in list, refresh display as it's being added
|
||||
let item = document.querySelector(".pref-item[name=" + pref.name.quote() + "]");
|
||||
let item = document.querySelector(".pref-item[name=\"" + CSS.escape(pref.name) + "\"]");
|
||||
if (!item) {
|
||||
document.location.reload();
|
||||
return;
|
||||
|
@ -238,7 +238,7 @@ var Addons = {
|
||||
|
||||
_getElementForAddon: function(aKey) {
|
||||
let list = document.getElementById("addons-list");
|
||||
let element = list.querySelector("div[addonID=" + aKey.quote() + "]");
|
||||
let element = list.querySelector("div[addonID=\"" + CSS.escape(aKey) + "\"]");
|
||||
return element;
|
||||
},
|
||||
|
||||
|
@ -87,7 +87,7 @@ var NewPrefDialog = {
|
||||
}
|
||||
|
||||
// If item already in list, it's being changed, else added
|
||||
let item = document.querySelector(".pref-item[name=" + aPrefName.quote() + "]");
|
||||
let item = document.querySelector(".pref-item[name=\"" + CSS.escape(aPrefName) + "\"]");
|
||||
if (item) {
|
||||
this._positiveButton.textContent = gStringBundle.GetStringFromName("newPref.changeButton");
|
||||
} else {
|
||||
@ -472,7 +472,7 @@ var AboutConfig = {
|
||||
}
|
||||
|
||||
// If pref not already in list, refresh display as it's being added
|
||||
let item = document.querySelector(".pref-item[name=" + pref.name.quote() + "]");
|
||||
let item = document.querySelector(".pref-item[name=\"" + CSS.escape(pref.name) + "\"]");
|
||||
if (!item) {
|
||||
document.location.reload();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user