mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-05 12:42:21 +03:00
Sieve Filters (Interface first look)
Code refactoring Small fixes
This commit is contained in:
parent
409e9fbdc2
commit
1027f319ed
43 changed files with 466 additions and 427 deletions
37
dev/ViewModels/Popups/PopupsFiterViewModel.js
Normal file
37
dev/ViewModels/Popups/PopupsFiterViewModel.js
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
* @extends KnoinAbstractViewModel
|
||||
*/
|
||||
function PopupsFilterViewModel()
|
||||
{
|
||||
KnoinAbstractViewModel.call(this, 'Popups', 'PopupsFilter');
|
||||
|
||||
this.filter = ko.observable(null);
|
||||
|
||||
this.selectedFolderValue = ko.observable(Consts.Values.UnuseOptionValue);
|
||||
this.folderSelectList = RL.data().folderMenuForMove;
|
||||
this.defautOptionsAfterRender = Utils.defautOptionsAfterRender;
|
||||
|
||||
Knoin.constructorEnd(this);
|
||||
}
|
||||
|
||||
Utils.extendAsViewModel('PopupsFilterViewModel', PopupsFilterViewModel);
|
||||
|
||||
PopupsFilterViewModel.prototype.clearPopup = function ()
|
||||
{
|
||||
|
||||
};
|
||||
|
||||
PopupsFilterViewModel.prototype.onShow = function (oFilter)
|
||||
{
|
||||
this.clearPopup();
|
||||
|
||||
this.filter(oFilter);
|
||||
};
|
||||
|
||||
PopupsFilterViewModel.prototype.onFocus = function ()
|
||||
{
|
||||
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue