Confusion between sAction=view and sAction=display broke viewing/displaying items. Standardize on sAction=view until we can come up with a more robust way of ensuring the same issue doesn't happen again.

This commit is contained in:
Chris Morgan
2007-09-24 21:35:35 -04:00
parent fafcbce1bd
commit a6f76eb892
5 changed files with 7 additions and 7 deletions

View File

@@ -670,7 +670,7 @@ class Application {
{
switch($sAction)
{
case "display":
case "view":
return "Viewing App: ".$this->sName;
default:

View File

@@ -794,7 +794,7 @@ class ObjectManager
$oObject = new $this->sClass($this->iId);
$aVars = $this->get_custom_vars($aClean, "display");
$aVars = $this->get_custom_vars($aClean, "view");
if(!$aVars)
$oObject->display();

View File

@@ -724,7 +724,7 @@ class version {
{
switch($sAction)
{
case "display":
case "view":
return "Viewing App: ".version::fullName($this->iVersionId);
default:
@@ -736,7 +736,7 @@ class version {
{
switch($sAction)
{
case "display":
case "view":
/* Allow the user to select which test report is
shown in the version view */
return array("iTestingId");