oscarservice / oscar-old

oscar
GNU General Public License v2.0
0 stars 2 forks source link

rich text editor #6

Open oscarservice opened 10 years ago

oscarservice commented 10 years ago

Rich text editor can not save.

zhoulingmin commented 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.

annie-zhou commented 10 years ago

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 .

zhoulingmin commented 10 years ago

should be fixed, pls use the latest code to try again.