ajax behavior only added when upload button visibl

ajax behavior only added when upload button visible