Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaarchParapheur
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
MaarchParapheur
Commits
0824dd96
Commit
0824dd96
authored
4 years ago
by
Florian Azizian
Browse files
Options
Downloads
Patches
Plain Diff
FIX #16205 TIME 1 uncomment loading signature + test on windows
parent
d4c57b23
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/frontend/app/service/signature-method/signature-method-modal.component.ts
+10
-9
10 additions, 9 deletions
...vice/signature-method/signature-method-modal.component.ts
with
10 additions
and
9 deletions
src/frontend/app/service/signature-method/signature-method-modal.component.ts
+
10
−
9
View file @
0824dd96
...
...
@@ -66,11 +66,11 @@ export class SignatureMethodModalComponent implements OnInit {
}
async
certificateChosen
(
certData
:
any
)
{
//
this.loadingController.create({
//
message: this.translate.instant('lang.processing'),
//
spinner: 'dots'
//
}).then(async (load: HTMLIonLoadingElement) => {
//
load.present();
this
.
loadingController
.
create
({
message
:
this
.
translate
.
instant
(
'
lang.processing
'
),
spinner
:
'
dots
'
}).
then
(
async
(
load
:
HTMLIonLoadingElement
)
=>
{
load
.
present
();
try
{
this
.
server
=
certData
.
detail
.
server
;
...
...
@@ -85,7 +85,7 @@ export class SignatureMethodModalComponent implements OnInit {
}
catch
(
e
)
{
console
.
log
(
'
certificateChosen
'
);
this
.
notificationService
.
error
(
e
);
//
load.dismiss();
load
.
dismiss
();
this
.
modalController
.
dismiss
(
false
);
return
;
}
...
...
@@ -100,14 +100,15 @@ export class SignatureMethodModalComponent implements OnInit {
this
.
signatures
=
await
this
.
actionsService
.
getElementsFromDoc
();
result
=
await
this
.
sendAndSign
(
this
.
idsToProcess
[
index
]);
}
//
load.dismiss();
load
.
dismiss
();
this
.
modalController
.
dismiss
(
result
);
//
});
});
}
async
checkWebsocketSession
()
{
//
Why
session closed?!
// session closed?!
while
(
this
.
server
.
client
.
state
!==
WebSocket
.
OPEN
)
{
console
.
log
(
'
server connection
'
);
await
this
.
server
.
connect
();
await
new
Promise
(
resolve
=>
setTimeout
(
resolve
,
150
));
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment