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;
}
});

View file

@ -7076,7 +7076,8 @@ html.rl-no-preview-pane .messageList.message-selected {
opacity: 0.97;
filter: alpha(opacity=97);
}
.messageList.hideMessageListCheckbox .checkedParent {
.messageList.hideMessageListCheckbox .checkedParent,
.messageList.hideMessageListCheckbox .checkboxCkeckAll {
display: none !important;
}
.messageList.hideMessageListCheckbox .sidebarParent {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -3930,7 +3930,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)
@ -3963,7 +3963,7 @@ function Selector(oKoList, oKoSelectedItem,
if (this.selectedItemUseCallback)
{
this.itemSelectedTrottle(oItem);
this.itemSelectedThrottle(oItem);
}
}
else if (this.selectedItemUseCallback)
@ -13201,6 +13201,7 @@ MailBoxMessageViewViewModel.prototype.initShortcuts = function ()
{
self.deleteCommand();
}
return false;
}
});

File diff suppressed because one or more lines are too long