From c4d29a7eb0869014fc31186ffb3438e62790a41b Mon Sep 17 00:00:00 2001 From: Lorenz H-S Date: Sun, 8 Dec 2013 20:42:30 +0000 Subject: [PATCH] Fix ordering of channels As channels aren't added right away (but as soon as the info was received from the server), somehow the orderBy didn't do its job. --- index.html | 4 ++-- js/websockets.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 45f9406..cb8179b 100644 --- a/index.html +++ b/index.html @@ -224,7 +224,7 @@ $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out rel -
  • +
  • @@ -236,7 +236,7 @@ $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out rel
    diff --git a/js/websockets.js b/js/websockets.js index 6c8182a..793c73a 100644 --- a/js/websockets.js +++ b/js/websockets.js @@ -315,6 +315,7 @@ weechat.factory('connection', ['$q', '$rootScope', '$log', '$store', 'handlers', models.setActiveBuffer(buffer.id); } } + $rootScope.predicate = 'number'; });