|
|
@ -57,7 +57,12 @@ define([
|
|
|
|
.html(Messages._getKey(key, [msg.content.name || Messages.anonymous, msg.content.title]));
|
|
|
|
.html(Messages._getKey(key, [msg.content.name || Messages.anonymous, msg.content.title]));
|
|
|
|
$(el).find('.cp-notification-content').addClass("cp-clickable")
|
|
|
|
$(el).find('.cp-notification-content').addClass("cp-clickable")
|
|
|
|
.click(function () {
|
|
|
|
.click(function () {
|
|
|
|
common.openURL(msg.content.href);
|
|
|
|
var todo = function () { common.openURL(msg.content.href); };
|
|
|
|
|
|
|
|
if (!msg.content.password) { return void todo(); }
|
|
|
|
|
|
|
|
common.getSframeChannel().query('Q_SESSIONSTORAGE_PUT', {
|
|
|
|
|
|
|
|
key: 'newPadPassword',
|
|
|
|
|
|
|
|
value: msg.content.password
|
|
|
|
|
|
|
|
}, todo);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$(el).find('.cp-notification-dismiss').css('display', 'flex');
|
|
|
|
$(el).find('.cp-notification-dismiss').css('display', 'flex');
|
|
|
|
};
|
|
|
|
};
|
|
|
|