Between 1948, the birth of Israel, and 1967 when Israel recaptured Old Jerusalem, Jordanians forbid Jews to pray at the Wailing Wall. But they didn't destroy it. Since 1967 when Israel captured the city, they have allowed some, but not all Muslims some, but not all of the time, to pray at the Muslim holy sites.  They also  gave Jordan the honor and responsibility to maintain the Dome of the Rock. Both countries have shown at lest a modicum of respect to the two religious sites. 

I hope that the restraint continues despite this horrid terrorist attack.