Juanfran 2014-10-07 11:05:34 +02:00
parent be6b2c4ee0
commit 7a65f7e2ca
1 changed files with 35 additions and 31 deletions

View File

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