mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Many interface improvements, optimizations
This commit is contained in:
parent
40d2548a53
commit
53dc509d79
42 changed files with 686 additions and 461 deletions
|
|
@ -55,6 +55,7 @@ Enums.FolderType = {
|
|||
'Trash': 13,
|
||||
'Spam': 14,
|
||||
'Archive': 15,
|
||||
'NotSpam': 80,
|
||||
'User': 99
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -386,7 +386,7 @@ ko.bindingHandlers.draggable = {
|
|||
}
|
||||
|
||||
oConf['helper'] = function (oEvent) {
|
||||
return fValueAccessor()(oEvent && oEvent.target ? ko.dataFor(oEvent.target) : null, !!oEvent.shiftKey);
|
||||
return fValueAccessor()(oEvent && oEvent.target ? ko.dataFor(oEvent.target) : null);
|
||||
};
|
||||
|
||||
$(oElement).draggable(oConf).on('mousedown', function () {
|
||||
|
|
|
|||
|
|
@ -1337,7 +1337,7 @@ Utils.convertPlainTextToHtml = function (sPlain)
|
|||
|
||||
Utils.draggeblePlace = function ()
|
||||
{
|
||||
return $('<div class="draggablePlace"><span class="text"></span> <i class="icon-mail icon-white"></i></div>').appendTo('#rl-hidden');
|
||||
return $('<div class="draggablePlace"><span class="text"></span> <i class="icon-copy icon-white visible-on-ctrl"></i><i class="icon-mail icon-white hidden-on-ctrl"></i></div>').appendTo('#rl-hidden');
|
||||
};
|
||||
|
||||
Utils.defautOptionsAfterRender = function (oOption, oItem)
|
||||
|
|
|
|||
|
|
@ -67,6 +67,8 @@ var
|
|||
I18n = window['rainloopI18N'] || {},
|
||||
|
||||
$html = $('html'),
|
||||
|
||||
// $body = $('body'),
|
||||
|
||||
$window = $(window),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue