Open oscarservice opened 10 years ago
1.editControl.js need to be updated
2.in order to save signature pictures:
1)jQuery(document).ready in rich text editor html file should be changed to :
jQuery(document).ready(function(){
demographicNo = gup("demographic_no");
if (demographicNo == "") { demographicNo = gup("efmdemographic_no", jQuery("form").attr('action')); }
if (typeof signatureControl != "undefined") {
signatureControl.initialize({
sigHTML:"../signature_pad/tabletSignature.jsp?inWindow=true&saveToDB=true&demographicNo="+demographicNo,
demographicNo:demographicNo,
refreshImage: function (e) {
var html = "";
doHtml(html);
},
signatureInput: "#signatureInput"
});
}
});
demographicNo should be attached to the tail of sigHTML
2) Current facility should enable digital signatures.
Please commit it back to github oscar. Also make sure 'Print' work as well.
Thanks,
Annie
On Thu, Oct 31, 2013 at 3:45 AM, zhoulingmin notifications@github.comwrote:
1.editControl.js need to be updated
2.in order to save signature pictures: 1)jQuery(document).ready in rich text editor html file should be changed to :
jQuery(document).ready(function(){ demographicNo = gup("demographic_no"); if (demographicNo == "") { demographicNo = gup("efmdemographic_no", jQuery("form").attr('action')); } if (typeof signatureControl != "undefined") { signatureControl.initialize({
sigHTML:"../signature_pad/tabletSignature.jsp?inWindow=true&saveToDB=true&demographicNo="+demographicNo, demographicNo:demographicNo, refreshImage: function (e) { var html = "";
doHtml(html);
}, signatureInput: "#signatureInput"
}); }
}); demographicNo should be attached to the tail of sigHTML
2) Current facility should enable digital signatures.
— Reply to this email directly or view it on GitHubhttps://github.com/oscarservice/oscar/issues/6#issuecomment-27467450 .
should be fixed, pls use the latest code to try again.
Rich text editor can not save.