Description
Hi:
First of all, congrats for the module. It is a very nice and useful addon.
I am using the module in a spanish installation. When initial language settings (operating system locale or java user.locale and user.region) are not set to english, Alfresco directory structure of the repository is created in other language (i.e. Spanish) and some important rootpaths like:
Company Home
change to --> Espacio de empresa
(in spanish for example)
When showing Upload Folders paths in Alfresco Share admin console, there is an option to open the Upload Folder in the Repository. In my case, I see the path wrong splitted and as a result of this, a broken link to the folder too.
Looking deeper in the code, I can see in the surf part:
components/uploader-plus/js/uploader-plus-admin.js
that there is a function to prettyPath that substrings such as:
var result = path.substring(13);
In my case, changing this by a "18" (according to the length of "Espacio de empresa") solves my problem as a walkaround. I understand, that a better solution would be to split the path by "/" and then to ignore the first element of the rootpath.
Regards.
--C.