mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-01 06:22:55 +01:00
Pebble: call the callbacks, do not return them
This commit is contained in:
parent
7f5aeb6ab1
commit
8353026c08
@ -155,11 +155,15 @@ function gbPebble() {
|
|||||||
try {
|
try {
|
||||||
self.configurationValues = JSON.stringify(dict);
|
self.configurationValues = JSON.stringify(dict);
|
||||||
document.getElementById("jsondata").innerHTML=self.configurationValues;
|
document.getElementById("jsondata").innerHTML=self.configurationValues;
|
||||||
return callbackAck;
|
if (callbackAck != undefined) {
|
||||||
|
callbackAck();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
GBjs.gbLog("sendAppMessage failed");
|
GBjs.gbLog("sendAppMessage failed");
|
||||||
return callbackNack;
|
if (callbackNack != undefined) {
|
||||||
|
callbackNack();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user