cancel
Showing results for 
Search instead for 
Did you mean: 

hide options in copy-move-to

ayubalfresco
Champ in-the-making
Champ in-the-making
I have followed the steps listed in the below site:

http://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/hide-options-copy-...

still I am seeing the options. Could some one assist me. I am using 4.1.5

Thanks
2 REPLIES 2

lementree
Champ on-the-rise
Champ on-the-rise
Hi,

You need to remove browser cache to reflect the changes in .js file. Check once by removing cahce.

Regards,

Hi,

I have cleared the browser cache multiple times and closed the browser as well. Even in the debug mode I am seeing the changes in did in copy-move-to.js file. when I did the step through..I am seeing that the control is going to actions.js file and in that there is the below code

var allowedViewModes =
         [
            Alfresco.module.DoclibGlobalFolder.VIEW_MODE_SITE
         ];
         if (this.options.repositoryBrowsing === true)
         {
            allowedViewModes.push(Alfresco.module.DoclibGlobalFolder.VIEW_MODE_REPOSITORY,      Alfresco.module.DoclibGlobalFolder.VIEW_MODE_USERHOME);
         }




repositor and user home options are being pushed to allowedViewModes. Not sure why this.options.repositoryBrowsing === true is getting evaluated to true.