Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
43
gaia/apps/email/js/cards/setup_account_prefs.js
Executable file
43
gaia/apps/email/js/cards/setup_account_prefs.js
Executable file
|
|
@ -0,0 +1,43 @@
|
|||
/**
|
||||
* Setup is done; add another account?
|
||||
*/
|
||||
'use strict';
|
||||
define(function(require) {
|
||||
|
||||
var cards = require('cards'),
|
||||
mozL10n = require('l10n!');
|
||||
|
||||
return [
|
||||
require('./base_card')(require('template!./setup_account_prefs.html')),
|
||||
require('./account_prefs_mixins'),
|
||||
{
|
||||
onArgs: function(args) {
|
||||
this.account = args.account;
|
||||
this.identity = this.account.identities[0];
|
||||
|
||||
// Establish defaults specifically for our email app.
|
||||
this.identity.modifyIdentity({
|
||||
signatureEnabled: true,
|
||||
signature: mozL10n.get('settings-default-signature-2')
|
||||
});
|
||||
|
||||
this._bindPrefs('tng-account-check-interval',
|
||||
'tng-notify-mail',
|
||||
'tng-sound-onsend',
|
||||
'tng-signature-input',
|
||||
'signature-button');
|
||||
},
|
||||
|
||||
onNext: function(event) {
|
||||
cards.pushCard('setup_done', 'animate');
|
||||
},
|
||||
|
||||
onCardVisible: function() {
|
||||
this.updateSignatureButton();
|
||||
},
|
||||
|
||||
die: function() {
|
||||
}
|
||||
}
|
||||
];
|
||||
});
|
||||
Loading…
Reference in a new issue