mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 08:27:31 +09:00
Issue #1258 - Part 10: Remove chat core bits
This commit is contained in:
parent
fe11727f3d
commit
65944ea58a
8 changed files with 5 additions and 64 deletions
|
|
@ -39,12 +39,6 @@ function onLoad(event) {
|
|||
document.getElementById("removeDataPossibility").collapsed = true;
|
||||
}
|
||||
|
||||
if (gServer.type == "im") {
|
||||
let dataCheckbox = document.getElementById("removeData");
|
||||
dataCheckbox.label = dataCheckbox.getAttribute("labelChat");
|
||||
dataCheckbox.accessKey = dataCheckbox.getAttribute("accesskeyChat");
|
||||
}
|
||||
|
||||
enableRemove();
|
||||
window.sizeToContent();
|
||||
}
|
||||
|
|
@ -80,8 +74,6 @@ function showInfo() {
|
|||
// TODO: bug 1238271, this should use showFor attributes if possible.
|
||||
if (gServer.type == "imap" || gServer.type == "nntp") {
|
||||
document.getElementById("serverAccount").collapsed = false;
|
||||
} else if (gServer.type == "im") {
|
||||
document.getElementById("chatAccount").collapsed = false;
|
||||
} else {
|
||||
document.getElementById("localAccount").collapsed = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue