Handle infinite-spinner errors and properly inform the user

This commit is contained in:
Caleb James DeLisle
2017-08-25 14:24:43 +02:00
parent cbf63b4c52
commit 0a6f81850f
5 changed files with 50 additions and 18 deletions

View File

@@ -67,9 +67,7 @@ define([
logLevel: logLevel
});
chainpad.onMessage(function(message, cb) {
sframeChan.query('Q_RT_MESSAGE', message, function (ret) {
if (ret === 'OK') { cb(); }
});
sframeChan.query('Q_RT_MESSAGE', message, cb);
});
chainpad.onPatch(function () {
onRemote({ realtime: chainpad });