diff options
-rw-r--r-- | sonar-server/src/main/coffee/coding-rules/views/actions-view.coffee | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-server/src/main/coffee/coding-rules/views/actions-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/actions-view.coffee index df837935e6e..dba669468b6 100644 --- a/sonar-server/src/main/coffee/coding-rules/views/actions-view.coffee +++ b/sonar-server/src/main/coffee/coding-rules/views/actions-view.coffee @@ -27,7 +27,8 @@ define [ onRender: -> unless @collection.sorting.sortText - @collection.sorting.sortText = @$('[data-sort=' + @collection.sorting.sort + ']:first').text() + while not @collection.sorting.sortText + @collection.sorting.sortText = @$('[data-sort=' + @collection.sorting.sort + ']:first').text() @render() |