Small fixes

This commit is contained in:
RainLoop Team 2014-01-22 22:55:17 +04:00
parent bd935eae32
commit 1623f515ff
10 changed files with 47 additions and 15 deletions

View file

@ -89,17 +89,22 @@
}
</script>
<script type="text/javascript">
function __showError() {
var oR = document.getElementById('rl-loading'),
oL = document.getElementById('rl-loading-error');
if (oR) {oR.style.display = 'none';}
if (oL) {oL.style.display = 'block';}
if (window.SimplePace) {window.SimplePace.set(100);}
}
if (window.__RLBOOT) {
window.__RLBOOT(function (bV) {
if (!bV) {
var oR = document.getElementById('rl-loading'),
oL = document.getElementById('rl-loading-error');
if (oR) {oR.style.display = 'none';}
if (oL) {oL.style.display = 'block';}
if (window.SimplePace) {window.SimplePace.set(100);}
__showError();
}
});
} else {
__showError();
}
</script>
</body>

View file

@ -2,7 +2,7 @@
<a class="e-link" data-bind="droppable: function (oEvent, oUi) { $root.messagesDrop($data, oUi); },
droppableOver: function (oEvent, oUi) { $root.messagesDropOver($data, oUi); },
droppableOut: function (oEvent, oUi) { $root.messagesDropOut($data, oUi); },
css: { 'selected': selected() && !isSystemFolder(), 'selectable': selectableForFolderList, 'hidden' : hidden, 'print-count': 0 < printableUnreadCount().length, 'system': isSystemFolder, 'anim-action-class': actionBlink }">
css: { 'selected': selected() && !isSystemFolder(), 'selectable': selectableForFolderList, 'hidden' : hidden, 'print-count': hasUnreadMessages, 'unread-sub': hasSubScribedUnreadMessagesSubfolders, 'system': isSystemFolder, 'anim-action-class': actionBlink }">
<span class="badge pull-right count" data-bind="text: printableUnreadCount"></span>
<i data-bind="css: collapsedCss()"></i>
<span class="name" data-bind="text: name"></span>