It sounds very much like submissive urination. Good news is it's fixable, bad news is it's a long slow road. You need to build her confidence back up and it's key to remove her from any situation that is reinforcing her submissiveness.
Take a look on google for submissive urination and you'll...