Change initial tab in the file share modal
This commit is contained in:
@@ -1349,13 +1349,15 @@ define([
|
|||||||
|
|
||||||
// Create modal
|
// Create modal
|
||||||
var tabs = [{
|
var tabs = [{
|
||||||
title: Messages.share_linkCategory,
|
|
||||||
icon: "fa fa-link",
|
|
||||||
content: frameLink
|
|
||||||
}, {
|
|
||||||
title: Messages.share_contactCategory,
|
title: Messages.share_contactCategory,
|
||||||
icon: "fa fa-address-book",
|
icon: "fa fa-address-book",
|
||||||
content: frameContacts
|
content: frameContacts,
|
||||||
|
active: hasFriends,
|
||||||
|
}, {
|
||||||
|
title: Messages.share_linkCategory,
|
||||||
|
icon: "fa fa-link",
|
||||||
|
content: frameLink,
|
||||||
|
active: !hasFriends
|
||||||
}, {
|
}, {
|
||||||
title: Messages.share_embedCategory,
|
title: Messages.share_embedCategory,
|
||||||
icon: "fa fa-code",
|
icon: "fa fa-code",
|
||||||
|
|||||||
Reference in New Issue
Block a user