summaryrefslogtreecommitdiff
path: root/web-ui/app/js/page/default.js
diff options
context:
space:
mode:
authorGislene Pereira <gislene01@gmail.com>2016-03-10 14:57:12 -0300
committerGislene Pereira <gislene01@gmail.com>2016-03-10 14:57:12 -0300
commitbfa9686b400ba09f8eec59046bc907baf7c229a6 (patch)
treedc429e1645b4ae984caa31108722cfd9cb4f97d6 /web-ui/app/js/page/default.js
parentda63a4c8e563a330c54ee73dcc0bc3d8c8b46fc3 (diff)
Creating events to spin and stop spinning the logo.
Logo will spin when user selects another tag on the left bar and stops when the list of mails is rendered. Issue #238
Diffstat (limited to 'web-ui/app/js/page/default.js')
-rw-r--r--web-ui/app/js/page/default.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web-ui/app/js/page/default.js b/web-ui/app/js/page/default.js
index 19b28354..e119672f 100644
--- a/web-ui/app/js/page/default.js
+++ b/web-ui/app/js/page/default.js
@@ -51,6 +51,7 @@ define(
'mail_view/data/feedback_sender',
'page/version',
'page/unread_count_title',
+ 'page/pix_logo',
'helpers/browser'
],
@@ -90,6 +91,7 @@ define(
feedbackSender,
version,
unreadCountTitle,
+ pixLogo,
browser) {
'use strict';
@@ -132,6 +134,8 @@ define(
unreadCountTitle.attachTo(document);
+ pixLogo.attachTo('#pix-logo');
+
$.ajaxSetup({headers: {'X-XSRF-TOKEN': browser.getCookie('XSRF-TOKEN')}});
}