cloudspokes/arena-web — pull request #988 by GSTVAC (2014-11-05 01:52:13+00:00)
Title: fixes #921 overlapping solved

![arena](https://cloud.githubusercontent.com/assets/9438627/4911465/e47190b4-648d-11e4-931e-738ecf295070.png)

Use the code below to perform tests on your local environment, when you don't have enough rooms to display the pagination.

*app\js\controllers\activeContestsCtrl.js*
```
@@ -269,6 +269,9 @@ var activeContestsCtrl = ['$scope', '$rootScope', '$state', 'socket', 'appHelper
* @returns {$rootScope.roundData.coderRooms|*} the room list
*/
$scope.getRoomsList = function (contest) {
+ var rooms = [];
+ for (var i = 1; i < 75; i++) rooms.push({roomID : i, roomType : 2, roomTitle : "Room "+i, roundID : 1000000, divisionID : 2, $$hashKey : "0"+i});
+ return rooms;
if (contest) {
return contest.coderRooms;
}
```