summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-24 11:34:08 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-24 11:34:08 +0100
commitd1137017d4a94d8c2f2def84fed7d027bd4c7b00 (patch)
treee75d505cce05a616b08dcb2c3c7c8aff1b7ffe58
parentac44cdcad39f715483e3c0076b75026b1737b8c4 (diff)
downloadkube-d1137017d4a94d8c2f2def84fed7d027bd4c7b00.tar.gz
kube-d1137017d4a94d8c2f2def84fed7d027bd4c7b00.zip
Fixed synchronize call
-rw-r--r--framework/qml/EditAccount.qml2
-rw-r--r--framework/qml/LoginAccount.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/qml/EditAccount.qml b/framework/qml/EditAccount.qml
index c08e0c26..1bf3b917 100644
--- a/framework/qml/EditAccount.qml
+++ b/framework/qml/EditAccount.qml
@@ -89,7 +89,7 @@ Item {
89 text: qsTr("Change Password") 89 text: qsTr("Change Password")
90 onClicked: { 90 onClicked: {
91 Kube.Fabric.postMessage(Kube.Messages.componentDone, {}) 91 Kube.Fabric.postMessage(Kube.Messages.componentDone, {})
92 Kube.Fabric.postMessage(Kube.Messages.requestLogin, {"accountId": loader.item.accountId}) 92 Kube.Fabric.postMessage(Kube.Messages.requestLogin, {accountId: loader.item.accountId})
93 } 93 }
94 } 94 }
95 } 95 }
diff --git a/framework/qml/LoginAccount.qml b/framework/qml/LoginAccount.qml
index 78558701..f1289dc4 100644
--- a/framework/qml/LoginAccount.qml
+++ b/framework/qml/LoginAccount.qml
@@ -29,7 +29,7 @@ Item {
29 29
30 function login() { 30 function login() {
31 loader.item.login() 31 loader.item.login()
32 Kube.Fabric.postMessage(Kube.Messages.synchronize, {"accountId": loader.item.accountIdentifier}); 32 Kube.Fabric.postMessage(Kube.Messages.synchronize, {"accountId": loader.item.accountId});
33 root.done() 33 root.done()
34 } 34 }
35 35