Browse Source

Hide buddy list per default and only show when room status becomes true.

pull/16/head
Simon Eisenmann 11 years ago
parent
commit
11fda3d937
  1. 5
      static/js/directives/buddylist.js

5
static/js/directives/buddylist.js

@ -27,7 +27,7 @@ define(['underscore', 'text!partials/buddylist.html'], function(_, template) { @@ -27,7 +27,7 @@ define(['underscore', 'text!partials/buddylist.html'], function(_, template) {
var controller = ['$scope', '$element', '$attrs', function($scope, $element, $attrs) {
$scope.layout.buddylist = true;
$scope.layout.buddylist = false;
$scope.enabled = false;
$scope.doCall = function(id) {
@ -55,6 +55,9 @@ define(['underscore', 'text!partials/buddylist.html'], function(_, template) { @@ -55,6 +55,9 @@ define(['underscore', 'text!partials/buddylist.html'], function(_, template) {
$scope.enabled = status;
$scope.$emit("roomStatus", status);
}
if (status) {
$scope.layout.buddylist = true
}
};
//XXX(longsleep): Debug leftover ?? Remove this.

Loading…
Cancel
Save