jeudi 5 février 2015

Create NavigateUp button in document library view



In a library with many folders, I want to put the NavigateUp button from the toolbar to be visible in my custom view (shows in a modal dialog pop-up)


I tried the CoreInvoke method I found in the inplview.js, but it doesn't work:



<a onclick="CoreInvoke('NavigateUp', '/RootFolder');>


With F12 I also tried to capture the JScript which is triggered when clicking the original button, but the function is empty.


So in the meantime, I am using "window.history.back();" as a workaround. But I want a more elegant way, which only appears in a subfolder.








0 commentaires:

Enregistrer un commentaire