Skip to content

Commit e660eb9

Browse files
committed
Fixing broken support for Skandiabanken
1 parent 6c43db5 commit e660eb9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

extension/chrome/background.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ function onInvoiceMessage(message) {
141141
// using; chrome.tabs.executeScript(null, {file: "swedbank_script.js"});
142142
function handleSkandiabanken(invoice, tab) {
143143
chrome.tabs.executeScript(tab.id, {
144-
code: "if ('"+ invoice.reference +"' != '') document.getElementById('ctl00_ctl00_ctl00_cphContentWide_cphContentWide_cphMainContent_tbReferenceNumber').value='" + invoice.reference + "';" +
145-
"if ('"+ invoice.amount +"' != '') document.getElementById('ctl00_ctl00_ctl00_cphContentWide_cphContentWide_cphMainContent_tbAmount').value= '"+ invoice.amount +"';" +
146-
"if ('"+ invoice.account +"' != '') document.getElementById('ctl00_ctl00_ctl00_cphContentWide_cphContentWide_cphMainContent_tbNewRecipient').value= '"+ invoice.account +"'"
144+
code: "if ('"+ invoice.reference +"' != '') document.getElementById('ctl00_ctl00_ctl00_cphBody_cphContentWide_cphContentWide_cphMainContent_tbReferenceNumber').value='" + invoice.reference + "';" +
145+
"if ('"+ invoice.amount +"' != '') document.getElementById('ctl00_ctl00_ctl00_cphBody_cphContentWide_cphContentWide_cphMainContent_tbAmount').value= '"+ invoice.amount +"';" +
146+
"if ('"+ invoice.account +"' != '') document.getElementById('ctl00_ctl00_ctl00_cphBody_cphContentWide_cphContentWide_cphMainContent_tbNewRecipient').value= '"+ invoice.account +"'"
147147
});
148148
}
149149

extension/chrome/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "DroidGiro",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "Med tillägget DroidGiro kan du skicka information skannat från DroidGiro på din Android-enhet till Chrome.",
55
"background_page": "background.html",
66
"browser_action": {

0 commit comments

Comments
 (0)