Merge pull request #2538 from canton7/feature/issue-2537

Allow #urPreview to scroll in the browser (fixes #2537)
This commit is contained in:
Audrius Butkevicius 2015-11-30 13:36:28 +00:00
commit 45535c0f5a
2 changed files with 9 additions and 6 deletions

View File

@ -1414,10 +1414,13 @@ angular.module('syncthing.core')
}; };
$scope.showURPreview = function () { $scope.showURPreview = function () {
$('#settings').modal('hide'); $('#settings').modal('hide')
$('#urPreview').modal().on('hidden.bs.modal', function () { .one('hidden.bs.modal', function() {
$('#settings').modal(); $('#urPreview').modal()
}); .one('hidden.bs.modal', function () {
$('#settings').modal();
});
});
}; };
$scope.acceptUR = function () { $scope.acceptUR = function () {

File diff suppressed because one or more lines are too long