|
|
@ -1598,9 +1598,9 @@ define([
|
|
|
|
content: h('span', Messages.profileButton),
|
|
|
|
content: h('span', Messages.profileButton),
|
|
|
|
action: function () {
|
|
|
|
action: function () {
|
|
|
|
if (padType) {
|
|
|
|
if (padType) {
|
|
|
|
window.open(origin+'/profile/');
|
|
|
|
Common.openURL(origin+'/profile/');
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
window.parent.location = origin+'/profile/';
|
|
|
|
Common.gotoURL(origin+'/profile/');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -1645,9 +1645,9 @@ define([
|
|
|
|
content: h('span', Messages.settingsButton),
|
|
|
|
content: h('span', Messages.settingsButton),
|
|
|
|
action: function () {
|
|
|
|
action: function () {
|
|
|
|
if (padType) {
|
|
|
|
if (padType) {
|
|
|
|
window.open(origin+'/settings/');
|
|
|
|
Common.openURL(origin+'/settings/');
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
window.parent.location = origin+'/settings/';
|
|
|
|
Common.gotoURL(origin+'/settings/');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -1662,9 +1662,9 @@ define([
|
|
|
|
content: h('span', Messages.adminPage || 'Admin'),
|
|
|
|
content: h('span', Messages.adminPage || 'Admin'),
|
|
|
|
action: function () {
|
|
|
|
action: function () {
|
|
|
|
if (padType) {
|
|
|
|
if (padType) {
|
|
|
|
window.open(origin+'/admin/');
|
|
|
|
Common.openURL(origin+'/admin/');
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
window.parent.location = origin+'/admin/';
|
|
|
|
Common.gotoURL(origin+'/admin/');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -1676,9 +1676,9 @@ define([
|
|
|
|
content: h('span', Messages.supportPage || 'Support'),
|
|
|
|
content: h('span', Messages.supportPage || 'Support'),
|
|
|
|
action: function () {
|
|
|
|
action: function () {
|
|
|
|
if (padType) {
|
|
|
|
if (padType) {
|
|
|
|
window.open(origin+'/support/');
|
|
|
|
Common.openURL(origin+'/support/');
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
window.parent.location = origin+'/support/';
|
|
|
|
Common.gotoURL(origin+'/support/');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -1763,7 +1763,7 @@ define([
|
|
|
|
content: h('span', Messages.logoutEverywhere),
|
|
|
|
content: h('span', Messages.logoutEverywhere),
|
|
|
|
action: function () {
|
|
|
|
action: function () {
|
|
|
|
Common.getSframeChannel().query('Q_LOGOUT_EVERYWHERE', null, function () {
|
|
|
|
Common.getSframeChannel().query('Q_LOGOUT_EVERYWHERE', null, function () {
|
|
|
|
window.parent.location = origin + '/';
|
|
|
|
Common.gotoURL(origin + '/');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -1773,7 +1773,7 @@ define([
|
|
|
|
content: h('span', Messages.logoutButton),
|
|
|
|
content: h('span', Messages.logoutButton),
|
|
|
|
action: function () {
|
|
|
|
action: function () {
|
|
|
|
Common.logout(function () {
|
|
|
|
Common.logout(function () {
|
|
|
|
window.parent.location = origin+'/';
|
|
|
|
Common.gotoURL(origin+'/');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|
|
|
|
});
|
|
|
|