cronapp-lib-js 2.9.6-SP.14 → 2.9.6-SP.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
//FIX_031 - CRONAPP-7237 Problemas ao usar a coluna "checkbox" na Grade
|
|
33
33
|
//FIX_032 - CRONAPP-10755 Caixa de seleção permanece aberta sobrepondo outros componentes ao mover o scroll para baixo
|
|
34
34
|
//FIX_033 - CRONAPP-10922 Caixa de seleção permanece aberta sobrepondo outros componentes ao voltar a pagina anterior
|
|
35
|
+
//FIX_034 - CRONAPP-10947 Ao clicar no botão nativo - Exportar para PDF o componente Grade quebra na tela.
|
|
35
36
|
|
|
36
37
|
/**
|
|
37
38
|
* Kendo UI v2019.1.220 (http://www.telerik.com/kendo-ui)
|
|
@@ -61990,9 +61991,19 @@
|
|
|
61990
61991
|
}
|
|
61991
61992
|
var options = this.options.pdf;
|
|
61992
61993
|
options.multiPage = options.multiPage || options.allPages;
|
|
61994
|
+
//BEGIN FIX_034
|
|
61995
|
+
//NEW FIX_034
|
|
61996
|
+
let currentHeight = this.element.height();
|
|
61997
|
+
let $element = $(this.element);
|
|
61998
|
+
$element.css('height', currentHeight);
|
|
61999
|
+
//END FIX
|
|
61993
62000
|
this._drawPDF(progress).then(function (root) {
|
|
61994
62001
|
return kendo.drawing.exportPDF(root, options);
|
|
61995
62002
|
}).done(function (dataURI) {
|
|
62003
|
+
//BEGIN FIX_034
|
|
62004
|
+
//NEW FIX_034
|
|
62005
|
+
$element.css('height', '');
|
|
62006
|
+
//END FIX
|
|
61996
62007
|
kendo.saveAs({
|
|
61997
62008
|
dataURI: dataURI,
|
|
61998
62009
|
fileName: options.fileName,
|
|
@@ -62002,6 +62013,10 @@
|
|
|
62002
62013
|
});
|
|
62003
62014
|
progress.resolve();
|
|
62004
62015
|
}).fail(function (err) {
|
|
62016
|
+
//BEGIN FIX_034
|
|
62017
|
+
//NEW FIX_034
|
|
62018
|
+
$element.css('height', '');
|
|
62019
|
+
//END FIX
|
|
62005
62020
|
progress.reject(err);
|
|
62006
62021
|
});
|
|
62007
62022
|
return promise;
|