[ic] Cancel button in customer survey returns to Admin UI

Jon Jensen jon at endpoint.com
Wed Dec 29 11:26:26 EST 2004


On Tue, 28 Dec 2004, Joshua Lavin wrote:

> I had this problem quite a while ago. Here's a patch to fix the cancel button 
> ($IC_DIR/code/UI_Tag/auto_wizard.coretag):
>
> --- auto_wizard.coretag.orig    Tue Dec 28 09:12:02 2004
> +++ auto_wizard.coretag Tue Dec 28 09:12:13 2004
> @@ -879,7 +879,7 @@
>        $opts{notable} = 1;
>        $opts{no_meta} = 1;
>        $opts{defaults} = 1;
> -       $opts{mv_cancelpage} ||= 'admin/index';
> +       $opts{mv_cancelpage} ||= 'index';
>        $opts{row_template} ||= $opt->{row_template} || <<'EOF' unless 
> $opts{display_type};
> {HELP?}<td>&nbsp;</td><td>
>      <span style="color: blue">{HELP}</span>

Thanks, Josh. I've committed this patch to CVS. If someone really wants 
the Cancel button to return to the admin, they can specify that in a tag 
argument.

Jon

-- 
Jon Jensen
End Point Corporation
http://www.endpoint.com/
Software development with Interchange, Perl, PostgreSQL, Apache, Linux, ...


More information about the interchange-users mailing list