Commit e1a664f8 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

CMailMergeSendData чтобы не изменялись имена при минимизации

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@62591 954022d7-b5bf-4e40-9824-e11837661b57
parent 08e324b5
...@@ -290,70 +290,70 @@ var DocumentPageSize = new function() { ...@@ -290,70 +290,70 @@ var DocumentPageSize = new function() {
function CMailMergeSendData (obj){ function CMailMergeSendData (obj){
if(obj){ if(obj){
if (typeof obj.from != 'undefined'){ if (typeof obj.from != 'undefined'){
this.from = obj.from; this["from"] = obj.from;
} }
if (typeof obj.to != 'undefined'){ if (typeof obj.to != 'undefined'){
this.to = obj.to; this["to"] = obj.to;
} }
if (typeof obj.subject != 'undefined'){ if (typeof obj.subject != 'undefined'){
this.subject = obj.subject; this["subject"] = obj.subject;
} }
if (typeof obj.mailFormat != 'undefined'){ if (typeof obj.mailFormat != 'undefined'){
this.mailFormat = obj.mailFormat; this["mailFormat"] = obj.mailFormat;
} }
if (typeof obj.fileName != 'undefined'){ if (typeof obj.fileName != 'undefined'){
this.fileName = obj.fileName; this["fileName"] = obj.fileName;
} }
if (typeof obj.message != 'undefined'){ if (typeof obj.message != 'undefined'){
this.message = obj.message; this["message"] = obj.message;
} }
if (typeof obj.recordFrom != 'undefined'){ if (typeof obj.recordFrom != 'undefined'){
this.recordFrom = obj.recordFrom; this["recordFrom"] = obj.recordFrom;
} }
if (typeof obj.recordTo != 'undefined'){ if (typeof obj.recordTo != 'undefined'){
this.recordTo = obj.recordTo; this["recordTo"] = obj.recordTo;
} }
if (typeof obj.jsonKey != 'undefined'){ if (typeof obj.jsonKey != 'undefined'){
this.jsonKey = obj.jsonKey; this["jsonKey"] = obj.jsonKey;
} }
} }
else else
{ {
this.from = null; this["from"] = null;
this.to = null; this["to"] = null;
this.subject = null; this["subject"] = null;
this.mailFormat = null; this["mailFormat"] = null;
this.fileName = null; this["fileName"] = null;
this.message = null; this["message"] = null;
this.recordFrom = null; this["recordFrom"] = null;
this.recordTo = null; this["recordTo"] = null;
this.recordCount = null; this["recordCount"] = null;
this.userId = null; this["userId"] = null;
this.jsonKey = null; this["jsonKey"] = null;
} }
} }
CMailMergeSendData.prototype.get_From = function(){return this.from}; CMailMergeSendData.prototype.get_From = function(){return this["from"]};
CMailMergeSendData.prototype.put_From = function(v){this.from = v;}; CMailMergeSendData.prototype.put_From = function(v){this["from"] = v;};
CMailMergeSendData.prototype.get_To = function(){return this.to}; CMailMergeSendData.prototype.get_To = function(){return this["to"]};
CMailMergeSendData.prototype.put_To = function(v){this.to = v;}; CMailMergeSendData.prototype.put_To = function(v){this["to"] = v;};
CMailMergeSendData.prototype.get_Subject = function(){return this.subject}; CMailMergeSendData.prototype.get_Subject = function(){return this["subject"]};
CMailMergeSendData.prototype.put_Subject = function(v){this.subject = v;}; CMailMergeSendData.prototype.put_Subject = function(v){this["subject"] = v;};
CMailMergeSendData.prototype.get_MailFormat = function(){return this.mailFormat}; CMailMergeSendData.prototype.get_MailFormat = function(){return this["mailFormat"]};
CMailMergeSendData.prototype.put_MailFormat = function(v){this.mailFormat = v;}; CMailMergeSendData.prototype.put_MailFormat = function(v){this["mailFormat"] = v;};
CMailMergeSendData.prototype.get_FileName = function(){return this.fileName}; CMailMergeSendData.prototype.get_FileName = function(){return this["fileName"]};
CMailMergeSendData.prototype.put_FileName = function(v){this.fileName = v;}; CMailMergeSendData.prototype.put_FileName = function(v){this["fileName"] = v;};
CMailMergeSendData.prototype.get_Message = function(){return this.message}; CMailMergeSendData.prototype.get_Message = function(){return this["message"]};
CMailMergeSendData.prototype.put_Message = function(v){this.message = v;}; CMailMergeSendData.prototype.put_Message = function(v){this["message"] = v;};
CMailMergeSendData.prototype.get_RecordFrom = function(){return this.recordFrom}; CMailMergeSendData.prototype.get_RecordFrom = function(){return this["recordFrom"]};
CMailMergeSendData.prototype.put_RecordFrom = function(v){this.recordFrom = v;}; CMailMergeSendData.prototype.put_RecordFrom = function(v){this["recordFrom"] = v;};
CMailMergeSendData.prototype.get_RecordTo = function(){return this.recordTo}; CMailMergeSendData.prototype.get_RecordTo = function(){return this["recordTo"]};
CMailMergeSendData.prototype.put_RecordTo = function(v){this.recordTo = v;}; CMailMergeSendData.prototype.put_RecordTo = function(v){this["recordTo"] = v;};
CMailMergeSendData.prototype.get_RecordCount = function(){return this.recordCount}; CMailMergeSendData.prototype.get_RecordCount = function(){return this["recordCount"]};
CMailMergeSendData.prototype.put_RecordCount = function(v){this.recordCount = v;}; CMailMergeSendData.prototype.put_RecordCount = function(v){this["recordCount"] = v;};
CMailMergeSendData.prototype.get_UserId = function(){return this.userId}; CMailMergeSendData.prototype.get_UserId = function(){return this["userId"]};
CMailMergeSendData.prototype.put_UserId = function(v){this.userId = v;}; CMailMergeSendData.prototype.put_UserId = function(v){this["userId"] = v;};
CMailMergeSendData.prototype.get_JsonKey = function(){return this.jsonKey}; CMailMergeSendData.prototype.get_JsonKey = function(){return this["jsonKey"]};
CMailMergeSendData.prototype.put_JsonKey = function(v){this.jsonKey = v;}; CMailMergeSendData.prototype.put_JsonKey = function(v){this["jsonKey"] = v;};
// пользоваться так: // пользоваться так:
// подрубить его последним из скриптов к страничке // подрубить его последним из скриптов к страничке
......
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