Fire onchange for present and exists states

Even if no attribute is changed.
Fixes #750.
This commit is contained in:
Darko Poljak 2019-04-09 22:23:21 +02:00
commit f6b318bb00
2 changed files with 5 additions and 0 deletions

View file

@ -79,6 +79,10 @@ case "$state_should" in
fi
fi
done
if [ -f "$__object/files/set-attributes" ]; then
# set-attributes is created if file is created or uploaded in gencode-local
fire_onchange=1
fi
;;