Yes, I agree that this is a nuisance, here is another way, lifted from ADD_SKU
if ($continueScript)
{
$SCREEN = "admin_item";
/* $item should be set */
}
else
{
if ( isset($item) )
{
$SCREEN = "edit_sku";
}
else
{
/* Make them start over. */
$SCREEN = "admin_menu";
}
}
At 18:54 05/01/01 , you wrote:
>I notice that when I am editing an item and want to edit an SKU, after I
>update it there is nowhere to go, I have to return to the admin menu and
>work my way down the tree to edit the item again. The add SKU pages return
>to the item, so I would think the SKU page should also do that.
>
>The problem is with the last lines of the UPDATE_SKU action:
>
> /*
> ** Give the user a happy message and send him back to the appropriate
> ** screen. If there was an error, all of this has already been taken
> ** care of.
> */
> if ($continueScript)
> {
> $ActionResults[] = L_UPDATESKU_SUCESS;
> $SCREEN = "edit_sku";
> }
>
>?>
>
>which I beleive should be changed to:
>
> /*
> ** Give the user a happy message and send him back to the appropriate
> ** screen. If there was an error, all of this has already been taken
> ** care of.
> */
> if ($continueScript)
> {
> $ActionResults[] = L_UPDATESKU_SUCESS;
> $SCREEN = "admin_item";
> }
>
>?>
>
>
>
>Chris Mason
>Box 340, The Valley, Anguilla, British West Indies
>Tel: 264 497 5670 Fax: 264 497 8463
>USA Fax (561) 382-7771
>Take a virtual tour of the island
>http://net.ai/ The Anguilla Guide
>Find out more about NetConcepts
>www.netconcepts.ai
>Talk to me in real time with Instant Messenger: [EMAIL PROTECTED]
>
>
>
>
>------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Site: http://www.working-dogs.com/freetrade/
>Problems?: [EMAIL PROTECTED]
>
bye
Bob Hutchinson
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]