|
|
@ -3057,19 +3057,19 @@ 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;
|
|
|
|
|
|
|
|
Feedback.send('LINK_RECEIVED_LATER');
|
|
|
|
},
|
|
|
|
},
|
|
|
|
keys: [27]
|
|
|
|
keys: [27]
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
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);
|
|
|
|
|
|
|
|
Feedback.send("LINK_RECEIVED_OPEN");
|
|
|
|
},
|
|
|
|
},
|
|
|
|
keys: [13]
|
|
|
|
keys: [13]
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
@ -3088,6 +3088,7 @@ define([
|
|
|
|
}, function () {
|
|
|
|
}, function () {
|
|
|
|
modal.closeModal();
|
|
|
|
modal.closeModal();
|
|
|
|
dismiss();
|
|
|
|
dismiss();
|
|
|
|
|
|
|
|
Feedback.send("LINK_RECEIVED_STORE");
|
|
|
|
});
|
|
|
|
});
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
},
|
|
|
|
},
|
|
|
|