summaryrefslogtreecommitdiff
path: root/web-ui/app/js/mail_view/ui
diff options
context:
space:
mode:
authorJefferson Stachelski <jefferson.stachelski@gmail.com>2015-07-28 14:38:25 -0300
committerJefferson Stachelski <jefferson.stachelski@gmail.com>2015-07-28 14:38:25 -0300
commit6cba38db104dbbedc7c0f29b22c242ac43a75bcd (patch)
treebd7802ae7b17e818bcaa22c2e3ee49d8cefac24b /web-ui/app/js/mail_view/ui
parent1d77f71ae03087c2264de21cbc3ccf17612a9d78 (diff)
parentb228de6c5ef8cbf772f7d05d9e851acc96fb58a0 (diff)
Merge pull request #407 from schaffer/floatlabel_for_compose
Trying to fix issue #384
Diffstat (limited to 'web-ui/app/js/mail_view/ui')
-rw-r--r--web-ui/app/js/mail_view/ui/compose_box.js2
-rw-r--r--web-ui/app/js/mail_view/ui/draft_box.js2
2 files changed, 4 insertions, 0 deletions
diff --git a/web-ui/app/js/mail_view/ui/compose_box.js b/web-ui/app/js/mail_view/ui/compose_box.js
index 1b209b23..28f6dc83 100644
--- a/web-ui/app/js/mail_view/ui/compose_box.js
+++ b/web-ui/app/js/mail_view/ui/compose_box.js
@@ -54,6 +54,8 @@ define(
this.renderComposeBox = function() {
this.render(templates.compose.box, {});
+ this.enableFloatlabel('input.floatlabel');
+ this.enableFloatlabel('textarea.floatlabel');
this.select('recipientsFields').show();
this.on(this.select('closeButton'), 'click', this.showNoMessageSelected);
this.enableAutoSave();
diff --git a/web-ui/app/js/mail_view/ui/draft_box.js b/web-ui/app/js/mail_view/ui/draft_box.js
index adad108f..8c2e15c7 100644
--- a/web-ui/app/js/mail_view/ui/draft_box.js
+++ b/web-ui/app/js/mail_view/ui/draft_box.js
@@ -66,6 +66,8 @@ define(
body: body
});
+ this.enableFloatlabel('input.floatlabel');
+ this.enableFloatlabel('textarea.floatlabel');
this.select('recipientsFields').show();
this.select('bodyBox').focus();
this.select('tipMsg').hide();