|
|
@ -541,6 +541,15 @@ define([
|
|
|
|
}).click(function (e) { e.stopPropagation(); });
|
|
|
|
}).click(function (e) { e.stopPropagation(); });
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var openLink = function (href) {
|
|
|
|
|
|
|
|
if (/^\/[^\/]/.test(href)) {
|
|
|
|
|
|
|
|
var privateData = framework._.cpNfInner.metadataMgr.getPrivateData();
|
|
|
|
|
|
|
|
href = privateData.origin + href;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
framework._.sfCommon.openUnsafeURL(href);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var kanban = new window.jKanban({
|
|
|
|
var kanban = new window.jKanban({
|
|
|
|
element: '#cp-app-kanban-content',
|
|
|
|
element: '#cp-app-kanban-content',
|
|
|
|
gutter: '5px',
|
|
|
|
gutter: '5px',
|
|
|
@ -736,6 +745,7 @@ define([
|
|
|
|
addItemButton: true,
|
|
|
|
addItemButton: true,
|
|
|
|
getTextColor: getTextColor,
|
|
|
|
getTextColor: getTextColor,
|
|
|
|
getAvatar: getAvatar,
|
|
|
|
getAvatar: getAvatar,
|
|
|
|
|
|
|
|
openLink: openLink,
|
|
|
|
cursors: remoteCursors,
|
|
|
|
cursors: remoteCursors,
|
|
|
|
boards: boards
|
|
|
|
boards: boards
|
|
|
|
});
|
|
|
|
});
|
|
|
|