Under the new 6.x builds of FarCry, and object edit overlay (which is quite handy at times) always pops up on object edit. However, this can be tedious at points. Want to change that behavior? Well, here's one way to do so.
1. Create an edit.cfm for your content type, in this case mdwArticles. In this code have a process form that looks like this (note the return="true"):
2. Modify (or make a copy in your project being the better answer) /farcry/core/tags/formtools/processform.cfm:
Add the webskin tag
Add a new attribute
After the code block (don't forget the if)
And finally, you need a case to handle the return (
<cfcase value="Return">
<cfif structKeyExists(stLocal.stOnExit, "Content")>
<skin:onReady>
<cfoutput>
parent.$fc.objectAdminActionDiv.dialog('close');
</cfoutput>
</skin:onReady>
</cfif>
</cfcase>