From fc36290f708125a168e31b3b1e5b7282e6fd1059 Mon Sep 17 00:00:00 2001 From: Gislene Pereira Date: Mon, 14 Mar 2016 17:16:09 -0300 Subject: The logo will spin when the user opens a mail or draft. Issue #238 --- web-ui/app/js/page/pix_logo.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'web-ui') diff --git a/web-ui/app/js/page/pix_logo.js b/web-ui/app/js/page/pix_logo.js index c5c709d6..70a8b3ab 100644 --- a/web-ui/app/js/page/pix_logo.js +++ b/web-ui/app/js/page/pix_logo.js @@ -41,6 +41,9 @@ define( this.on(document, events.mails.available, this.stopSpinningLogo); this.on(document, events.mail.saveDraft, this.spinLogo); this.on(document, events.mail.draftSaved, this.stopSpinningLogo); + this.on(document, events.ui.mail.open, this.spinLogo); + this.on(document, events.dispatchers.rightPane.openDraft, this.spinLogo); + this.on(document, events.mail.want, this.stopSpinningLogo); }); } } -- cgit v1.2.3