Trouble with "Return to Sender" Javascript in CHPT 12
I am trying to implement the Retrun to Sender Java Script on Page 317. It says to do the following:
Edit the exsiting script, which should resemeble:
javascript:(ddwrt:GenFireServerEvent('__cancel')}
by apopending
;STSNavigate('{$PageSource}')
When I try to do this, SharePoint Designer shows me a syntax error. I have found blog postings that tell me to add __redirect... But I don't like this approach, since it doesn't use the Source variable.
Any help?
|