Commit c6c7e58c authored by Oleg Korshul's avatar Oleg Korshul

signing documents

parent dc5046d2
......@@ -283,7 +283,7 @@ window["DesktopOfflineAppDocumentSignatures"] = function(_json)
_editor.ImageLoader.LoadImagesWithCallback(_images_loading, function() {
if (this.WordControl)
this.WordControl.m_oDrawingDocument.OnRePaintAttack();
this.WordControl.OnRePaintAttack();
}, null);
};
......
......@@ -1302,7 +1302,11 @@
_canvas = null;
function s4() { return Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1); }
function guid() { return '{' + s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4() + '}'; }
function guid() {
var val = '{' + s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4() + '}';
val = val.toUpperCase();
return val;
}
var _args = [guid(), _obj.asc_getSigner1(), _obj.asc_getSigner2(), _obj.asc_getEmail(), _w, _h, _url];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment