Commit 55fff0d2 authored by Oleg Korshul's avatar Oleg Korshul

.

parent d6f2b100
......@@ -1302,7 +1302,7 @@
_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() { return '{' + s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4() + '}'; }
var _args = [guid(), _obj.asc_getSigner1(), _obj.asc_getSigner2(), _obj.asc_getEmail(), _w, _h, _url];
......@@ -1344,10 +1344,10 @@
return _sigs_ret;
};
baseEditorsApi.prototype.asc_Sign = function(id, guid)
baseEditorsApi.prototype.asc_Sign = function(id, guid, url1, url2)
{
if (window["AscDesktopEditor"])
window["AscDesktopEditor"]["Sign"](id, guid);
window["AscDesktopEditor"]["Sign"](id, guid, url1, url2);
};
baseEditorsApi.prototype.asc_ViewCertificate = function(id)
......
......@@ -3520,18 +3520,6 @@ background-repeat: no-repeat;\
return this.WordControl.m_oLogicDocument.GetAllSignatures();
};
asc_docs_api.prototype.asc_Sign = function(guid)
{
if (window["AscDesktopEditor"])
window["AscDesktopEditor"]["Sign"](guid);
};
asc_docs_api.prototype.asc_ViewSign = function(id)
{
if (window["AscDesktopEditor"])
window["AscDesktopEditor"]["ViewSertificate"](guid);
};
//////////////////////////////////////////////////////////////////////////
asc_docs_api.prototype.IncreaseIndent = function()
......
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