Closes #302: increase version history modal size

This commit is contained in:
Benjamin Gamard 2019-05-02 11:19:08 +02:00
parent d5e73ecd8b
commit cea0d4887d

View File

@ -195,10 +195,14 @@ angular.module('docs').controller('DocumentViewContent', function ($scope, $root
}); });
}; };
/**
* Open versions history.
*/
$scope.openVersions = function (file) { $scope.openVersions = function (file) {
$uibModal.open({ $uibModal.open({
templateUrl: 'partial/docs/file.versions.html', templateUrl: 'partial/docs/file.versions.html',
controller: 'ModalFileVersions', controller: 'ModalFileVersions',
size: 'lg',
resolve: { resolve: {
file: function () { file: function () {
return file; return file;