From 7ae33041b5356f253de9e92d9026bd3806d7ad77 Mon Sep 17 00:00:00 2001 From: James Allen Date: Tue, 10 Jan 2017 11:58:55 +0100 Subject: [PATCH] Don't enter infinite loop generating id --- .../web/public/coffee/ide/review-panel/RangesTracker.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/public/coffee/ide/review-panel/RangesTracker.coffee b/services/web/public/coffee/ide/review-panel/RangesTracker.coffee index f2794f2c07..722eab1aa5 100644 --- a/services/web/public/coffee/ide/review-panel/RangesTracker.coffee +++ b/services/web/public/coffee/ide/review-panel/RangesTracker.coffee @@ -55,7 +55,7 @@ load = (EventEmitter) -> '0000'.substr(0, 4 - pid.length) + pid @generateId: () -> - @generateId() + "000001" + @generateIdSeed() + "000001" newId: () -> @id_increment++