diff --git a/apps/maarch_entreprise/js/angular/app/signature-book.component.js b/apps/maarch_entreprise/js/angular/app/signature-book.component.js index 4f5d846f347f38143d63bd03b651677f1de608bb..eb8b6f9572457d37e756902298961bbeeb7b4c63 100644 --- a/apps/maarch_entreprise/js/angular/app/signature-book.component.js +++ b/apps/maarch_entreprise/js/angular/app/signature-book.component.js @@ -132,6 +132,7 @@ var SignatureBookComponent = (function () { setTimeout(function () { $j("#resListContent").niceScroll({ touchbehavior: false, cursorcolor: "#666", cursoropacitymax: 0.6, cursorwidth: 4 }); $j("#rightPanelContent").niceScroll({ touchbehavior: false, cursorcolor: "#666", cursoropacitymax: 0.6, cursorwidth: 4 }); + $j(".pjSign").niceScroll({ touchbehavior: true, cursorcolor: "#666", cursoropacitymax: 0.6, cursorwidth: 4 }); $j("#resListContent").scrollTop(0); $j("#resListContent").scrollTop($j(".resListContentFrameSelected").offset().top - 42); $j("#obsVersion").tooltipster({ @@ -364,6 +365,7 @@ var SignatureBookComponent = (function () { else { alert(data.error); } + _this.showSignaturesPanel = false; _this.loadingSign = false; }); } diff --git a/apps/maarch_entreprise/js/angular/app/signature-book.component.ts b/apps/maarch_entreprise/js/angular/app/signature-book.component.ts index 081448ffcc146f337b3c2803428b143ad15c4dbd..3e2699963ebf70704155509000c06aa4e7e2530d 100644 --- a/apps/maarch_entreprise/js/angular/app/signature-book.component.ts +++ b/apps/maarch_entreprise/js/angular/app/signature-book.component.ts @@ -138,6 +138,7 @@ export class SignatureBookComponent implements OnInit { setTimeout(() => { $j("#resListContent").niceScroll({touchbehavior:false,cursorcolor:"#666",cursoropacitymax:0.6,cursorwidth:4}); $j("#rightPanelContent").niceScroll({touchbehavior:false,cursorcolor:"#666",cursoropacitymax:0.6,cursorwidth:4}); + $j(".pjSign").niceScroll({touchbehavior:true,cursorcolor:"#666",cursoropacitymax:0.6,cursorwidth:4}); $j("#resListContent").scrollTop(0); $j("#resListContent").scrollTop($j(".resListContentFrameSelected").offset().top - 42); $j("#obsVersion").tooltipster({ @@ -370,6 +371,7 @@ export class SignatureBookComponent implements OnInit { alert(data.error); } + this.showSignaturesPanel = false; this.loadingSign = false; }); }