close the modal dialog when ChangeUrl is done

This commit is contained in:
Doug Bell 2010-07-30 14:41:15 -05:00
parent e03a441ded
commit e51b5913b5

View file

@ -123,14 +123,7 @@ sub www_changeUrlSave {
} }
} }
if ($session->form->param("proceed") eq "manageAssets") { return '<script type="text/javascript">window.parent.admin.closeModalDialog();</script>';
$session->http->setRedirect($asset->getManagerUrl);
}
else {
$session->http->setRedirect($asset->getUrl());
}
return undef;
} }