@ -274,8 +274,7 @@ define([
// Hidden hash: can't find the channel in our drives: abort
var noPadData = function (err) {
console.error(err);
// XXX Display error screen in inner
sframeChan.event("EV_PAD_NODATA", err);
};
// Hidden hash: can't find requestd edit URL in our drives: ask
var badPadData = function (cb) {
@ -603,6 +603,10 @@ define([
UI.addTooltips();
ctx.sframeChan.on("EV_PAD_NODATA", function (err) {
UI.errorLoadingScreen(Messages.safeLinks_error);
});
ctx.sframeChan.on("EV_PAD_PASSWORD", function (cfg) {
UIElements.displayPasswordPrompt(funcs, cfg);