zc_LoadIn=dialog for existing record.

zc_LoadIn=dialog for existing record.

Hi all,

I'm trying to get the ajax-modal window to open for an existing record with the zc_LoadIn=dialog arg and it's not working for me. Form is loading in new window.

Here is my code:

theDeal  =  Deals  [Deal_Name == input.iDeal];
pathDeals = "/ensobase/home/Deals/record-edit/All_Deals/";
lnk = "<a href='" + pathDeals + theDeal.ID + "?zc_LoadIn=dialog' >Deal</a>";

Any ideas?

tt