From 3757162d9b8b617adee0516223b7166909aedf91 Mon Sep 17 00:00:00 2001
From: Janokisu <54418395+Janokisu@users.noreply.github.com>
Date: Fri, 4 Nov 2022 12:35:51 +0100
Subject: [PATCH] Fix: Wahlhilfe geht nicht mehr
---
README.md | 2 +-
manifest.json | 2 +-
popup.js | 3 ++-
telLink.js | 3 ++-
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 1289774..8a90fc0 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@ Um über ankommende Anrufe benachrichtigt zu werden, ist Python auf dem PC erfor
Changelog:
-0.2.2
+0.2.3
- Aufgrund eines internen Fehlers ging die Wahlhilfe-Funktion nicht mehr
diff --git a/manifest.json b/manifest.json
index 6036654..5da4d16 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,7 +2,7 @@
"description": "__MSG_extensionDescription__",
"manifest_version": 2,
"name": "__MSG_extensionName__",
- "version": "0.2.2",
+ "version": "0.2.3",
"default_locale": "en",
"icons": {
"48": "icons/telefonliste.svg"
diff --git a/popup.js b/popup.js
index ac69e10..9366273 100644
--- a/popup.js
+++ b/popup.js
@@ -196,7 +196,8 @@ document.getElementById("telNumberEnterCall").addEventListener("click", function
askCallingNumber(nummer)
browser.runtime.sendMessage({
- "Call_Number": callingNumber.innerText
+ "Call_Number": true,
+ "Call_Number_value": callingNumber.innerText
})
.then(connecting, onError);
diff --git a/telLink.js b/telLink.js
index adeb285..b523ebd 100644
--- a/telLink.js
+++ b/telLink.js
@@ -17,7 +17,8 @@ varTelLinkClick = function telLinkClick(evt){
let x = confirm( browser.i18n.getMessage("pop_askNumberText_Number", [tel]) )
if(x == true){
browser.runtime.sendMessage({
- "Call_Number": tel
+ "Call_Number": true,
+ "Call_Number_value": tel
});
}
}