Small fixes (#70)

This commit is contained in:
RainLoop Team 2014-04-10 14:38:04 +04:00
parent fbf17aa6f3
commit 83036c8341
10 changed files with 215 additions and 212 deletions

View file

@ -28,7 +28,7 @@ function Selector(oKoList, oKoSelectedItem,
this.selectedItem = oKoSelectedItem;
this.selectedItemUseCallback = true;
this.itemSelectedTrottle = _.throttle(_.bind(this.itemSelected, this), 300);
this.itemSelectedThrottle = _.debounce(_.bind(this.itemSelected, this), 300);
this.listChecked.subscribe(function (aItems) {
if (0 < aItems.length)
@ -61,7 +61,7 @@ function Selector(oKoList, oKoSelectedItem,
if (this.selectedItemUseCallback)
{
this.itemSelectedTrottle(oItem);
this.itemSelectedThrottle(oItem);
}
}
else if (this.selectedItemUseCallback)

View file

@ -512,7 +512,7 @@ html.rl-no-preview-pane {
}
&.hideMessageListCheckbox {
.checkedParent {
.checkedParent, .checkboxCkeckAll {
display: none !important;
}
.sidebarParent {

View file

@ -498,6 +498,7 @@ MailBoxMessageViewViewModel.prototype.initShortcuts = function ()
{
self.deleteCommand();
}
return false;
}
});