Fixing create task popup, enabling blocked textarea only when needed
parent
e766e66cd2
commit
4a21ff58cd
|
@ -176,9 +176,7 @@ BlockingMessageInputDirective = ($log) ->
|
||||||
return $log.error "No watch attribute on tg-blocking-message-input directive"
|
return $log.error "No watch attribute on tg-blocking-message-input directive"
|
||||||
|
|
||||||
$scope.$watch $attrs.watch, (value) ->
|
$scope.$watch $attrs.watch, (value) ->
|
||||||
return if value is undefined
|
if value is not undefined and value == true
|
||||||
|
|
||||||
if value == true
|
|
||||||
$el.find(".blocked-note").show(400)
|
$el.find(".blocked-note").show(400)
|
||||||
else
|
else
|
||||||
$el.find(".blocked-note").hide(400)
|
$el.find(".blocked-note").hide(400)
|
||||||
|
|
Loading…
Reference in New Issue