2012-04-25 16:56:43 +04:00
|
|
|
$(document).ready(function(){
|
|
|
|
|
|
|
|
// Add history button to files/index.php
|
|
|
|
FileActions.register('file','History',function(){return OC.imagePath('core','actions/history')},function(filename){
|
2012-04-25 17:27:55 +04:00
|
|
|
window.location='../apps/files_versions/history.php?path='+encodeURIComponent($('#dir').val()).replace(/%2F/g, '/')+'/'+encodeURIComponent(filename);
|
2012-04-25 16:56:43 +04:00
|
|
|
});
|
|
|
|
|
|
|
|
});
|
2012-04-24 01:54:49 +04:00
|
|
|
|