Commit 8bf8c318 authored by JC Brand's avatar JC Brand

Merge pull request #600 from davec82/master

change xmpp status also on icon-status click
parents 0db447a5 cde205f6
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
- #589 Save scroll position on minimize and restore it on maximize [rlanvin] - #589 Save scroll position on minimize and restore it on maximize [rlanvin]
- #592 Add random resource for `auto_login`, add method generateResource to generate random resource [davec82] - #592 Add random resource for `auto_login`, add method generateResource to generate random resource [davec82]
- #598 Add option `synchronize_availability` [davec82] - #598 Add option `synchronize_availability` [davec82]
- #600 Fix change xmpp status also on icon-status click [davec82]
## 0.10.1 (2016-02-06) ## 0.10.1 (2016-02-06)
......
...@@ -3813,7 +3813,7 @@ ...@@ -3813,7 +3813,7 @@
setStatus: function (ev) { setStatus: function (ev) {
ev.preventDefault(); ev.preventDefault();
var $el = $(ev.target), var $el = $(ev.currentTarget),
value = $el.attr('data-value'); value = $el.attr('data-value');
if (value === 'logout') { if (value === 'logout') {
this.$el.find(".dropdown dd ul").hide(); this.$el.find(".dropdown dd ul").hide();
......
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