Fixed javascript incomplete if check which prevented adding attachments.
Fixed javascript incomplete if check which prevented adding attachments.

azaghal/thebuggenie,gabor-udvari/thebuggenie,gabor-udvari/thebuggenie,JonathanRH/thebuggenie,Rvanlaak/thebuggenie,praveenscience/thebuggenie,Rvanlaak/thebuggenie,LogosLabs/thebuggenie,Rvanlaak/thebuggenie,nrensen/thebuggenie,thebuggenie/thebuggenie,nrensen/thebuggenie,deshion/thebuggenie,gabor-udvari/thebuggenie,milkyway-git/thebuggenie,milkyway-git/thebuggenie,thebuggenie/thebuggenie,gabor-udvari/thebuggenie,hurie/thebuggenie,SamMousa/thebuggenie,deshion/thebuggenie,SamMousa/thebuggenie,nrensen/thebuggenie,SysBind/thebuggenie,hurie/thebuggenie,JonathanRH/thebuggenie,milkyway-git/thebuggenie,SysBind/thebuggenie,azaghal/thebuggenie,SysBind/thebuggenie,praveenscience/thebuggenie,praveenscience/thebuggenie,praveenscience/thebuggenie,milkyway-git/thebuggenie,thebuggenie/thebuggenie,Rvanlaak/thebuggenie,hurie/thebuggenie,hurie/thebuggenie,LogosLabs/thebuggenie,SamMousa/thebuggenie,azaghal/thebuggenie,SamMousa/thebuggenie,thebuggenie/thebuggenie,LogosLabs/thebuggenie,LogosLabs/thebuggenie,JonathanRH/thebuggenie,azaghal/thebuggenie,JonathanRH/thebuggenie,SysBind/thebuggenie,thebuggenie/thebuggenie,deshion/thebuggenie,nrensen/thebuggenie,deshion/thebuggenie