Added function to correct the preview button href which at times can get the wrong ajax method setup. Wee...