summaryrefslogtreecommitdiff
path: root/web-ui/app/js/page
diff options
context:
space:
mode:
authorGiovane <giovaneliberato@gmail.com>2015-09-16 14:59:09 -0300
committerGiovane <giovaneliberato@gmail.com>2015-09-16 18:39:30 -0300
commit6d0f97b677704b8dc04aa70f32a85660df4f1822 (patch)
tree86bad223d8910513aca3bea53009d9d959173cdf /web-ui/app/js/page
parent9f5885fc7fc725e8541bf2b0cd60527d3b96b87e (diff)
#442 Renames open feedback box event.
Diffstat (limited to 'web-ui/app/js/page')
-rw-r--r--web-ui/app/js/page/events.js4
-rw-r--r--web-ui/app/js/page/pane_contract_expand.js2
2 files changed, 2 insertions, 4 deletions
diff --git a/web-ui/app/js/page/events.js b/web-ui/app/js/page/events.js
index c00c2848..c54cc6d6 100644
--- a/web-ui/app/js/page/events.js
+++ b/web-ui/app/js/page/events.js
@@ -69,9 +69,6 @@ define(function () {
next: 'ui:page:next',
changed: 'ui:page:changed'
},
- feedback: {
- open: 'ui:feedback:open'
- },
composeBox: {
newMessage: 'ui:composeBox:newMessage',
newReply: 'ui:composeBox:newReply',
@@ -171,6 +168,7 @@ define(function () {
dispatchers: {
rightPane: {
openComposeBox: 'dispatchers:rightPane:openComposeBox',
+ openFeedbackBox: 'dispatchers:rightPane:openFeedbackBox',
openNoMessageSelected: 'dispatchers:rightPane:openNoMessageSelected',
openNoMessageSelectedWithoutPushState: 'dispatchers:rightPane:openNoMessageSelectedWithoutPushState',
refreshMailList: 'dispatchers:rightPane:refreshMailList',
diff --git a/web-ui/app/js/page/pane_contract_expand.js b/web-ui/app/js/page/pane_contract_expand.js
index 771486ae..aee8c44f 100644
--- a/web-ui/app/js/page/pane_contract_expand.js
+++ b/web-ui/app/js/page/pane_contract_expand.js
@@ -42,7 +42,7 @@ define(['flight/lib/component', 'page/events'], function (describeComponent, eve
this.on(document, events.ui.mail.open, this.contractMiddlePaneExpandRightPane);
this.on(document, events.dispatchers.rightPane.openComposeBox, this.contractMiddlePaneExpandRightPane);
this.on(document, events.dispatchers.rightPane.openDraft, this.contractMiddlePaneExpandRightPane);
- this.on(document, events.ui.feedback.open, this.contractMiddlePaneExpandRightPane);
+ this.on(document, events.dispatchers.rightPane.openFeedbackBox, this.contractMiddlePaneExpandRightPane);
this.on(document, events.dispatchers.rightPane.openNoMessageSelected, this.expandMiddlePaneContractRightPane);
this.expandMiddlePaneContractRightPane();
});