Alexander Nicolaysen Sørnes : Return user to the version view after submitting test data
Chris Morgan
cmorgan at winehq.org
Mon Sep 17 20:32:41 CDT 2007
Module: appdb
Branch: master
Commit: 0f21daba18e1b704883310256d515aa81c8586c0
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=0f21daba18e1b704883310256d515aa81c8586c0
Author: Alexander Nicolaysen Sørnes <alexander at ivan.alexstyrt>
Date: Mon Sep 17 12:30:53 2007 +0200
Return user to the version view after submitting test data
---
include/version.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/version.php b/include/version.php
index fab4ff0..157c9c2 100644
--- a/include/version.php
+++ b/include/version.php
@@ -980,7 +980,8 @@ class version {
{
echo '<form method=post name=sMessage action=objectManager.php?'.
'sClass=testData_queue&sAction=add&iVersionId='.$this->iVersionId.
- '&sTitle=Add+Test+Data>'."\n";
+ '&sTitle=Add+Test+Data&sReturnTo='.
+ $this->objectMakeUrl().'>'."\n";
echo "\t".'<input type=submit value="Add Test Data" class="button" />'."\n";
echo '</form>'."\n";
} else
More information about the wine-cvs
mailing list