Ouch. Hopefully the ceiling can be dried off properly.
I know when this happened to me at my apartment complex about a year ago. It was just cleaned up and no need to replace any flooring/ceiling. Any pictures of the effected area?
I personally use those 5 gallon jugs and sit it in my sink and have found that VERY useful and had no accidents since. The flood was caused by a leak in the tank though.