This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var TT = TT || {}; | |
TT.PAGE_WIDTH = 800; | |
TT.PAGE_HEIGHT = 500; | |
TT.PAGE_MIN_WIDTH = 1000; | |
TT.PAGE_MIN_HEIGHT = 680; | |
TT.PAGE_MARGIN_LEFT = 32; | |
TT.PAGE_MARGIN_TOP = 10; | |
TT.BOOK_WIDTH = 1660; | |
TT.BOOK_WIDTH_CLOSED = TT.BOOK_WIDTH / 2; | |
TT.BOOK_HEIGHT = 520; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global.copy = function(refObject) { | |
var newObject; | |
var descriptor; | |
var properties; | |
if (refObject.cloneNode) { | |
newObject = refObject.cloneNode(); | |
} | |
else { | |
newObject = Object.create(Object.getPrototypeOf(refObject)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="l-scroll_pane-container"> | |
<div class="l-scroll_pane-work_area"> | |
<ul class="l-scroll_pane g-clrfix"> | |
<li class="b-categories-item "> | |
<input type="hidden" value="d64d7a39-3045-4206-a843-42c816ad7f04"> | |
<div class="b-categories-image b-categories-image--object"></div> | |
<p class="b-categories-name">Товары</p> | |
</li> | |
<li class="b-categories-item b-categories-item--active"> | |
<input type="hidden" value="9c4c930a-26bd-4ec9-9fc3-727f26e0ed0f"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Init Section --> | |
<script type="text/javascript"> | |
if (window.Calc) { | |
if (Calc.restore && typeof(Calc.restore) === 'function') { | |
Calc.restore(); | |
} | |
} else { | |
window.Calc = { | |
loadOptions: { | |
// Все урлы должны заканчиваться "/", кроме тех что указываются в allowedPaths |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
checkData: function(route) { | |
var user = Calc.get('User').model; | |
if (user && user.get('isLoged')) { | |
return YES; | |
} else if (this.processWrongRoute && typeof(this.processWrongRoute) === 'function') { | |
this.processWrongRoute(); | |
} | |
return NO; | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heartbeatTimout: 4, | |
heartbeatState: YES, | |
// Обработчик heartbeat срабатывает когда по таймеру приходит время выполнить запрос | |
startHeartbeat: function() { | |
var policy = Calc.get('Policy').model; | |
Calc.requestWraper(policy, 'send', { | |
account: policy.get('AccountNumber') | |
}, { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="l-split_layout"> | |
<div> | |
<!-- content --> | |
</div> | |
<div> | |
<!-- content --> | |
</div> | |
</div> | |
<div class="l-split_layout"> | |
<div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Panel> | |
<Caption>Представитель «Группы Ренессанс Страхования», в лице:</Caption> | |
<Enabled>true</Enabled> | |
<ID>SberReninsManagerDetails[0]</ID> | |
<Name>SberReninsManagerDetails</Name> | |
<Number>0</Number> | |
<Visible>false</Visible> | |
<ActionsGroups /> | |
<Collapsed>false</Collapsed> | |
<Colspan>6</Colspan> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function initAtlas(b) { | |
var p = false, | |
e = null; | |
function o() { | |
if (e != null) { | |
e.close(); | |
e = null | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Validators xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> | |
<d9p1:anyType xmlns:d10p1="http://schemas.datacontract.org/2004/07/Renins.Core.Base.Model.Policy" i:type="d10p1:Validator"> | |
<d10p1:Enabled>true</d10p1:Enabled> | |
<d10p1:EnabledChanged>false</d10p1:EnabledChanged> | |
<d10p1:ErrorMsg>Поле не может быть пустым</d10p1:ErrorMsg> | |
<d10p1:IsValid>true</d10p1:IsValid> | |
<d10p1:Method>required</d10p1:Method> | |
<d10p1:Name /> | |
<d10p1:Params /> | |
<d10p1:ValidationGroup>Page2</d10p1:ValidationGroup> |
OlderNewer