mirror of
https://github.com/sismics/docs.git
synced 2024-11-22 14:07:55 +01:00
Closes #302: increase version history modal size
This commit is contained in:
parent
d5e73ecd8b
commit
cea0d4887d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user