Commit 39e427bc authored by JC Brand's avatar JC Brand

There's no longer a dropdown to set the status

parent 2f46bb8c
...@@ -100,7 +100,6 @@ ...@@ -100,7 +100,6 @@
events: { events: {
"click a.show-profile": "showProfileModal", "click a.show-profile": "showProfileModal",
"click a.change-status": "showStatusChangeModal", "click a.change-status": "showStatusChangeModal",
"click .dropdown dd ul li a": "setStatus",
"click .logout": "logOut" "click .logout": "logOut"
}, },
...@@ -144,12 +143,6 @@ ...@@ -144,12 +143,6 @@
} }
}, },
setStatus (ev) {
ev.preventDefault();
const value = ev.target.getAttribute('data-value');
this.model.set('status', value);
},
getPrettyStatus (stat) { getPrettyStatus (stat) {
if (stat === 'chat') { if (stat === 'chat') {
return __('online'); return __('online');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment