From 0d0eb256f6b553196f071b2beab35ef7cbcdd805 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 26 Jun 2014 22:28:42 +0200 Subject: [PATCH] Add section name to backlog. --- app/coffee/modules/backlog/main.coffee | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/coffee/modules/backlog/main.coffee b/app/coffee/modules/backlog/main.coffee index 1ed7300b..8197ae0b 100644 --- a/app/coffee/modules/backlog/main.coffee +++ b/app/coffee/modules/backlog/main.coffee @@ -28,6 +28,9 @@ bindOnce = @.taiga.bindOnce class BacklogController extends mixOf(taiga.Controller, taiga.PageMixin) constructor: (@scope, @rootscope, @repo, @confirm, @rs, @params, @q) -> _.bindAll(@) + + @scope.sectionName = "Backlog" + promise = @.loadInitialData() promise.then null, => console.log "FAIL" @@ -266,7 +269,7 @@ BacklogDirective = ($repo) -> $ctrl.filterVisibleUserstories() $repo.saveAll(selectedUss) - + # FIXME: very large line sucks ;) # Enable move to current sprint only when there are selected us's $el.on "change", ".backlog-table-body .user-stories input:checkbox", (event) -> moveToCurrentSprintDom = $el.find("#move-to-current-sprint")