Fixing create task popup, enabling blocked textarea only when needed

stable
Alejandro Alonso 2014-09-26 09:33:09 +02:00
parent e766e66cd2
commit 4a21ff58cd
1 changed files with 1 additions and 3 deletions

View File

@ -176,9 +176,7 @@ BlockingMessageInputDirective = ($log) ->
return $log.error "No watch attribute on tg-blocking-message-input directive"
$scope.$watch $attrs.watch, (value) ->
return if value is undefined
if value == true
if value is not undefined and value == true
$el.find(".blocked-note").show(400)
else
$el.find(".blocked-note").hide(400)