Remove XXX
parent
abc27295ab
commit
fbae166702
www/common
|
@ -4254,7 +4254,6 @@ define([
|
|||
}
|
||||
var sframeChan = common.getSframeChannel();
|
||||
sframeChan.event('EV_SHARE_OPEN', {hidden: true});
|
||||
err.loaded = true; // XXX DEBUG
|
||||
UI.errorLoadingScreen(msg, Boolean(err.loaded), Boolean(err.loaded));
|
||||
(cb || function () {})();
|
||||
};
|
||||
|
|
|
@ -1523,14 +1523,10 @@ define([
|
|||
channel.bcast("PAD_LEAVE", m);
|
||||
},
|
||||
onError: function (err) {
|
||||
console.error(err); // XXX DEBUG
|
||||
|
||||
channel.bcast("PAD_ERROR", err);
|
||||
Store.leavePad(null, data, function () {});
|
||||
},
|
||||
onChannelError: function (err) {
|
||||
console.warn(err); // XXX DEBUG
|
||||
|
||||
channel.bcast("PAD_ERROR", err);
|
||||
Store.leavePad(null, data, function () {});
|
||||
},
|
||||
|
@ -2101,7 +2097,7 @@ define([
|
|||
var driveEventClients = [];
|
||||
|
||||
var dropChannel = Store.dropChannel = function (chanId) {
|
||||
console.error('Drop channel', chanId); // XXX DEBUG
|
||||
console.error('Drop channel', chanId);
|
||||
|
||||
try {
|
||||
store.messenger.leavePad(chanId);
|
||||
|
|
|
@ -413,8 +413,6 @@ define([
|
|||
};
|
||||
|
||||
var onError = function (err) {
|
||||
console.error(err); // XXX DEBUG
|
||||
|
||||
common.onServerError(err, null, function () {
|
||||
if (err.type === 'ERESTRICTED') {
|
||||
stateChange(STATE.ERROR, err.type);
|
||||
|
|
Loading…
Reference in New Issue