|
|
@ -475,12 +475,12 @@ define([
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
var onRemote = realtimeOptions.onRemote = function (info) {
|
|
|
|
var onRemote = realtimeOptions.onRemote = function () {
|
|
|
|
if (initializing) { return; }
|
|
|
|
if (initializing) { return; }
|
|
|
|
|
|
|
|
|
|
|
|
var oldShjson = stringifyDOM(inner);
|
|
|
|
var oldShjson = stringifyDOM(inner);
|
|
|
|
|
|
|
|
|
|
|
|
var shjson = info.realtime.getUserDoc();
|
|
|
|
var shjson = module.realtime.getUserDoc();
|
|
|
|
|
|
|
|
|
|
|
|
// remember where the cursor is
|
|
|
|
// remember where the cursor is
|
|
|
|
cursor.update();
|
|
|
|
cursor.update();
|
|
|
@ -679,7 +679,7 @@ define([
|
|
|
|
module.users = info.userList.users;
|
|
|
|
module.users = info.userList.users;
|
|
|
|
module.realtime = info.realtime;
|
|
|
|
module.realtime = info.realtime;
|
|
|
|
|
|
|
|
|
|
|
|
var shjson = info.realtime.getUserDoc();
|
|
|
|
var shjson = module.realtime.getUserDoc();
|
|
|
|
|
|
|
|
|
|
|
|
var newPad = false;
|
|
|
|
var newPad = false;
|
|
|
|
if (shjson === '') { newPad = true; }
|
|
|
|
if (shjson === '') { newPad = true; }
|
|
|
|