[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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, ...
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.