use secondary buttons
This commit is contained in:
parent
15a8054d31
commit
e8b2c5c4e8
@ -1131,7 +1131,7 @@ define([
|
|||||||
return {
|
return {
|
||||||
content: h('p', Messages.share_noContactsLoggedIn),
|
content: h('p', Messages.share_noContactsLoggedIn),
|
||||||
buttons: [{
|
buttons: [{
|
||||||
className: 'primary',
|
className: 'secondary',
|
||||||
name: Messages.share_copyProfileLink,
|
name: Messages.share_copyProfileLink,
|
||||||
onClick: function () {
|
onClick: function () {
|
||||||
// XXX copy profile link
|
// XXX copy profile link
|
||||||
@ -1143,13 +1143,13 @@ define([
|
|||||||
return {
|
return {
|
||||||
content: h('p', Messages.share_noContactsNotLoggedIn),
|
content: h('p', Messages.share_noContactsNotLoggedIn),
|
||||||
buttons: [{
|
buttons: [{
|
||||||
className: 'primary',
|
className: 'secondary',
|
||||||
name: Messages.login_register,
|
name: Messages.login_register,
|
||||||
onClick: function () {
|
onClick: function () {
|
||||||
// XXX link to register
|
// XXX link to register
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
className: 'primary',
|
className: 'secondary',
|
||||||
name: Messages.login_login,
|
name: Messages.login_login,
|
||||||
onClick: function () {
|
onClick: function () {
|
||||||
// XXX link to log in
|
// XXX link to log in
|
||||||
@ -1169,7 +1169,6 @@ define([
|
|||||||
var contactsContent = h('div.cp-share-modal');
|
var contactsContent = h('div.cp-share-modal');
|
||||||
$(contactsContent).append(friendsList);
|
$(contactsContent).append(friendsList);
|
||||||
|
|
||||||
console.log(friendsObject.content);
|
|
||||||
var contactButtons = friendsObject.buttons;
|
var contactButtons = friendsObject.buttons;
|
||||||
contactButtons.unshift(makeCancelButton());
|
contactButtons.unshift(makeCancelButton());
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user