Jordan occupied part of it, and Israel the rest, and then Israel occupied it all. It was all illegal. Just because Jordan did something illegal doesn't mean what Israel did was legal. Acquiring territory by means of war is ALWAYS illegal.
Texas Southern University on lockdown, gunman sought after 2 shot at student housing (AP)
from the article: Israel can't put occupation up for immoral referendum