jQuery update

This commit is contained in:
Roland Gruber 2018-11-01 20:02:06 +01:00
parent 55cdd56465
commit 10fef6d1d2
3 changed files with 3524 additions and 4274 deletions

View File

@ -2986,7 +2986,6 @@ class inetOrgPerson extends baseModule implements passwordService {
$photoFile = '../../tmp/' . $jpeg_filename; $photoFile = '../../tmp/' . $jpeg_filename;
$img = new htmlImage($photoFile); $img = new htmlImage($photoFile);
$img->setCSSClasses(array('photo')); $img->setCSSClasses(array('photo'));
$img->enableLightbox();
if ($crop) { if ($crop) {
$img->enableCropping(); $img->enableCropping();
} }

View File

@ -1,11 +1,11 @@
/*! /*!
* Cropper.js v1.3.5 * Cropper.js v1.4.3
* https://github.com/fengyuanchen/cropperjs * https://fengyuanchen.github.io/cropperjs
* *
* Copyright (c) 2015-2018 Chen Fengyuan * Copyright 2015-present Chen Fengyuan
* Released under the MIT license * Released under the MIT license
* *
* Date: 2018-04-15T06:19:56.029Z * Date: 2018-10-24T13:07:11.429Z
*/ */
.cropper-container { .cropper-container {
@ -21,8 +21,7 @@
user-select: none; user-select: none;
} }
.cropper-container img {/*Avoid margin top issue (Occur only when margin-top <= -height) .cropper-container img {
*/
display: block; display: block;
height: 100%; height: 100%;
image-orientation: 0deg; image-orientation: 0deg;
@ -79,9 +78,9 @@
.cropper-dashed.dashed-h { .cropper-dashed.dashed-h {
border-bottom-width: 1px; border-bottom-width: 1px;
border-top-width: 1px; border-top-width: 1px;
height: 33.33333%; height: calc(100% / 3);
left: 0; left: 0;
top: 33.33333%; top: calc(100% / 3);
width: 100%; width: 100%;
} }
@ -89,9 +88,9 @@
border-left-width: 1px; border-left-width: 1px;
border-right-width: 1px; border-right-width: 1px;
height: 100%; height: 100%;
left: 33.33333%; left: calc(100% / 3);
top: 0; top: 0;
width: 33.33333%; width: calc(100% / 3);
} }
.cropper-center { .cropper-center {

File diff suppressed because it is too large Load Diff