Update composer.js

Wrong compare to "undefined" and name.length of undefined.
Update compose.html.twig

I need to bind event before block form is submitted but i don't have access to composer. I propose this solution.
Update composer.js

Changed with typeof.
Use the snapshot roles to grant access to the snapshot actions
Merge pull request #369 from interstroom/snapshot-roles

Use the snapshot roles to grant access to the snapshot actions
Create SonataPageBundle.bg.xliff

Initial translations. I will continue other when I have time.
Merge pull request #370 from Warxcell/patch-5

Create SonataPageBundle.bg.xliff
[ADD] i18n labels for composer template
Merge pull request #372 from Th3Mouk/master

[ADD] i18n labels for composer template
Merge pull request #367 from piron4o/master

Update composer.js
Merge pull request #368 from piron4o/patch-2

Update compose.html.twig