changed js method to disable button on empty title for create an issue