08-15-2012 04:19 AM
YAHOO.extend(Alfresco.module.DoclibCopyMoveTo, Alfresco.module.DoclibGlobalFolder,
{
/**
* Set multiple initialization options at once.
*
* @method setOptions
* @override
* @param obj {object} Object literal specifying a set of options
* @return {Alfresco.module.DoclibMoveTo} returns 'this' for method chaining
*/
setOptions: function DLCMT_setOptions(obj)
{
var myOptions =
{
allowedViewModes:
[
Alfresco.module.DoclibGlobalFolder.VIEW_MODE_SITE
// was
// Alfresco.module.DoclibGlobalFolder.VIEW_MODE_SITE,
// Alfresco.module.DoclibGlobalFolder.VIEW_MODE_REPOSITORY,
// Alfresco.module.DoclibGlobalFolder.VIEW_MODE_USERHOME
],
extendedTemplateUrl: Alfresco.constants.URL_SERVICECONTEXT + "modules/documentlibrary/copy-move-to"
};
…
08-15-2012 11:16 AM
<#if DEBUG>
<script type="text/javascript" src="${page.url.context}/res/components/documentlibrary/actions.js"></script>
<script type="text/javascript" src="${page.url.context}/res/modules/simple-dialog.js"></script>
<script type="text/javascript" src="${page.url.context}/res/modules/documentlibrary/global-folder.js"></script>
<script type="text/javascript" src="${page.url.context}/res/modules/documentlibrary/copy-move-to.js"></script>
<script type="text/javascript" src="${page.url.context}/res/components/people-finder/people-finder.js"></script>
<script type="text/javascript" src="${page.url.context}/res/modules/documentlibrary/permissions.js"></script>
<script type="text/javascript" src="${page.url.context}/res/modules/documentlibrary/aspects.js"></script>
<#else>
<script type="text/javascript" src="${page.url.context}/res/js/documentlibrary-actions-min.js"></script>
</#if>
<config replace="true">
<flags>
<!–
Developer debugging setting to turn on DEBUG mode for client scripts in the browser
–>
<client-debug>true</client-debug>
<!–
LOGGING can always be toggled at runtime when in DEBUG mode (Ctrl, Ctrl, Shift, Shift).
This flag automatically activates logging on page load.
–>
<client-debug-autologging>false</client-debug-autologging>
</flags>
</config>
08-15-2012 12:25 PM
08-31-2015 01:52 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.