|
|
|
|
|
|
|
|
actionHandler: function (fileName, context) { |
|
|
actionHandler: function (fileName, context) { |
|
|
var fileModel = context.fileInfoModel; |
|
|
var fileModel = context.fileInfoModel; |
|
|
OC.Apps.hideAppSidebar($('.detailsView')); |
|
|
OC.Apps.hideAppSidebar($('.detailsView')); |
|
|
OCA.Files.App.setActiveView('files', {silent: true}); |
|
|
|
|
|
|
|
|
OCA.Files.App.setActiveView('files'); |
|
|
OCA.Files.App.fileList.changeDirectory(fileModel.get('path'), true, true).then(function() { |
|
|
OCA.Files.App.fileList.changeDirectory(fileModel.get('path'), true, true).then(function() { |
|
|
OCA.Files.App.fileList.scrollTo(fileModel.get('name')); |
|
|
OCA.Files.App.fileList.scrollTo(fileModel.get('name')); |
|
|
}); |
|
|
}); |