GUAC-586: Ensure page list tabs appear in deterministic order.

This commit is contained in:
Michael Jumper
2015-09-03 15:27:52 -07:00
parent 404909f37c
commit 9ec3ddf357
2 changed files with 12 additions and 3 deletions

View File

@@ -138,7 +138,7 @@ angular.module('navigation').directive('guacPageList', [function guacPageList()
name : name,
url : isCurrentPage ? currentURL : page.url,
className : page.className,
weight : page.weight || weight
weight : page.weight || (weight + i)
});
}