Merge pull request #76 from taigaio/bug/1206/changing-us-status-in-kanban

fix #1206
stable
Alejandro 2014-10-07 12:19:51 +02:00
commit dcb96555f3
1 changed files with 35 additions and 31 deletions

View File

@ -37,6 +37,10 @@ module = angular.module("taigaKanban")
KanbanSortableDirective = ($repo, $rs, $rootscope) ->
link = ($scope, $el, $attrs) ->
bindOnce $scope, "project", (project) ->
if not (project.my_permissions.indexOf("modify_us") > -1)
return
oldParentScope = null
newParentScope = null
itemEl = null