Change default choice to alias/shortcut in File popup (2.3)

Change default choice to alias/shortcut in File popup (2.3)

by Alessandro Forghieri -
Number of replies: 2

Greetings.

As per subject, I  would like to have alias/shortcut as the default choice in the file picker dialog (where applicable). It now defaults to "copy", and I failed to locate a relevant cfg option. Is this feasible?

Cheers,

alf

Average of ratings: -
In reply to Alessandro Forghieri

Re: Change default choice to alias/shortcut in File popup (2.3)

by Jay S -

After making the change purge all caches - /admin/purgecaches.php

File: repository/filepicker.js
line: 1080
-                    set('checked', (firstfilelink == linktype) ? 'checked' : '').simulate('change')
+                    set('checked', (4 == linktype) ? 'checked' : '').simulate('change')