|
|
@ -3048,6 +3048,7 @@ define([
|
|
|
|
var buttons = [{
|
|
|
|
var buttons = [{
|
|
|
|
name: Messages.friendRequest_later,
|
|
|
|
name: Messages.friendRequest_later,
|
|
|
|
onClick: function () {
|
|
|
|
onClick: function () {
|
|
|
|
|
|
|
|
// XXX feedback
|
|
|
|
if (clicked) { return true; }
|
|
|
|
if (clicked) { return true; }
|
|
|
|
clicked = true;
|
|
|
|
clicked = true;
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -3056,6 +3057,7 @@ define([
|
|
|
|
className: 'primary',
|
|
|
|
className: 'primary',
|
|
|
|
name: Messages.link_open,
|
|
|
|
name: Messages.link_open,
|
|
|
|
onClick: function () {
|
|
|
|
onClick: function () {
|
|
|
|
|
|
|
|
// XXX feedback
|
|
|
|
if (clicked) { return true; }
|
|
|
|
if (clicked) { return true; }
|
|
|
|
clicked = true;
|
|
|
|
clicked = true;
|
|
|
|
common.openUnsafeURL(url);
|
|
|
|
common.openUnsafeURL(url);
|
|
|
@ -3067,6 +3069,7 @@ define([
|
|
|
|
onClick: function () {
|
|
|
|
onClick: function () {
|
|
|
|
if (clicked) { return; }
|
|
|
|
if (clicked) { return; }
|
|
|
|
clicked = true;
|
|
|
|
clicked = true;
|
|
|
|
|
|
|
|
// XXX feedback
|
|
|
|
common.getSframeChannel().query("Q_DRIVE_USEROBJECT", {
|
|
|
|
common.getSframeChannel().query("Q_DRIVE_USEROBJECT", {
|
|
|
|
cmd: "addLink",
|
|
|
|
cmd: "addLink",
|
|
|
|
data: {
|
|
|
|
data: {
|
|
|
|