Message list template name fix

This commit is contained in:
RainLoop Team 2014-06-20 19:56:01 +04:00
parent b1327c933b
commit 5b465f5337
9 changed files with 156 additions and 156 deletions

View file

@ -150,7 +150,7 @@ AbstractAjaxRemoteStorage.prototype.ajaxRequest = function (fResultCallback, oPa
oDefAjax = $.ajax({ oDefAjax = $.ajax({
'type': bPost ? 'POST' : 'GET', 'type': bPost ? 'POST' : 'GET',
'url': RL.link().ajax(sGetAdd) , 'url': RL.link().ajax(sGetAdd),
'async': true, 'async': true,
'dataType': 'json', 'dataType': 'json',
'data': bPost ? oParameters : {}, 'data': bPost ? oParameters : {},

View file

@ -158,7 +158,7 @@
<span class="i18n" data-i18n-text="MESSAGE_LIST/EMPTY_SEARCH_LIST"></span> <span class="i18n" data-i18n-text="MESSAGE_LIST/EMPTY_SEARCH_LIST"></span>
</div> </div>
<div data-bind="draggable: dragAndDronHelper, droppableSelector: '.b-folders .content.g-scrollbox'"> <div data-bind="draggable: dragAndDronHelper, droppableSelector: '.b-folders .content.g-scrollbox'">
<div class="messageListPlace" data-bind="template: { name: messageListItemTemplate, foreach: messageList }"></div> <div class="messageListPlace" data-bind="template: { name: messageListItemTemplate(), foreach: messageList }"></div>
</div> </div>
</div> </div>
</div> </div>

View file

@ -36,7 +36,7 @@
<br /> <br />
<br /> <br />
<div data-bind="foreach: conditions"> <div data-bind="foreach: conditions">
<div data-bind="template: {'name': template, 'data': $data}"></div> <div data-bind="template: {'name': template(), 'data': $data}"></div>
</div> </div>
</div> </div>
<hr /> <hr />
@ -49,7 +49,7 @@
<br /> <br />
<br /> <br />
<div data-bind="foreach: actions"> <div data-bind="foreach: actions">
<div data-bind="template: {'name': template, 'data': $data}"></div> <div data-bind="template: {'name': template(), 'data': $data}"></div>
</div> </div>
</div> </div>
<hr /> <hr />

View file

@ -7452,7 +7452,7 @@ AbstractAjaxRemoteStorage.prototype.ajaxRequest = function (fResultCallback, oPa
oDefAjax = $.ajax({ oDefAjax = $.ajax({
'type': bPost ? 'POST' : 'GET', 'type': bPost ? 'POST' : 'GET',
'url': RL.link().ajax(sGetAdd) , 'url': RL.link().ajax(sGetAdd),
'async': true, 'async': true,
'dataType': 'json', 'dataType': 'json',
'data': bPost ? oParameters : {}, 'data': bPost ? oParameters : {},

View file

@ -17232,7 +17232,7 @@ AbstractAjaxRemoteStorage.prototype.ajaxRequest = function (fResultCallback, oPa
oDefAjax = $.ajax({ oDefAjax = $.ajax({
'type': bPost ? 'POST' : 'GET', 'type': bPost ? 'POST' : 'GET',
'url': RL.link().ajax(sGetAdd) , 'url': RL.link().ajax(sGetAdd),
'async': true, 'async': true,
'dataType': 'json', 'dataType': 'json',
'data': bPost ? oParameters : {}, 'data': bPost ? oParameters : {},