Skip to content

Commit ea45b59

Browse files
1.0.0 release
1 parent 313c947 commit ea45b59

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

esign-cert-repo/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>es.keensoft.alfresco</groupId>
66
<artifactId>esign-cert-repo</artifactId>
7-
<version>1.0-SNAPSHOT</version>
7+
<version>1.0.0</version>
88
<name>esign-cert-repo Repository AMP project</name>
99
<packaging>amp</packaging>
1010
<description>Manages the lifecycle of the esign-cert-repo Repository AMP (Alfresco Module Package)</description>

esign-cert-share/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>es.keensoft.alfresco</groupId>
66
<artifactId>esign-cert-share</artifactId>
7-
<version>1.0-SNAPSHOT</version>
7+
<version>1.0.0</version>
88
<name>esign-cert-share AMP project</name>
99
<packaging>amp</packaging>
1010
<description>Manages the lifecycle of the esign-cert-share AMP (Alfresco Module Package)</description>

esign-cert-share/src/main/amp/config/alfresco/web-extension/site-webscripts/es/keensoft/sign/sign-dialog.get.html.ftl

+11-4
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@
2626
<script type="text/javascript">//<![CDATA[
2727
2828
function show_signed(signatureBase64, certificateB64) {
29-
signedData.value = signatureBase64;
30-
signerData.value = certificateB64;
29+
var signForm = YAHOO.util.Dom.get("signDialog-form");
30+
signForm.signedData.value = signatureBase64;
31+
signForm.signerData.value = certificateB64;
3132
YAHOO.util.Dom.get("info").innerHTML="${msg("signed")}";
3233
var submitButton = YAHOO.util.Dom.get("signDialog-ok");
3334
submitButton.click();
@@ -55,11 +56,17 @@
5556
}
5657
};
5758
59+
var running = false;
5860
function doSign() {
59-
window.clearInterval(loadingSignComponentInterval);
6061
var signFrame = YAHOO.util.Dom.get("sign-frame");
6162
var signForm = YAHOO.util.Dom.get("signDialog-form");
62-
signFrame.contentWindow.doSign(signForm.dataToSign, signForm.signedData, signForm.signerRole);
63+
if(signFrame.contentWindow.doSign) {
64+
window.clearInterval(loadingSignComponentInterval);
65+
if (!running) {
66+
running = true;
67+
signFrame.contentWindow.doSign(signForm.dataToSign, signForm.signedData, signForm.signerRole);
68+
}
69+
}
6370
};
6471
6572
//]]></script>

0 commit comments

Comments
 (0)