=?UTF-8?Q?Alexander=20Nicolaysen=20?==?UTF-8?Q?S=C3=B8rnes=20?=: version: Return the user to the version page after managing notes

Alexander Nicolaysen Sørnes asornes at winehq.org
Sun Oct 9 08:13:38 CDT 2011


Module: appdb
Branch: master
Commit: cb1b2d21850e6dd8dceb592f6aa34c5b8712c996
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=cb1b2d21850e6dd8dceb592f6aa34c5b8712c996

Author: Alexander Nicolaysen Sørnes <alexsornes at gmail.com>
Date:   Sun Oct  9 15:12:53 2011 +0200

version: Return the user to the version page after managing notes

---

 include/version.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/version.php b/include/version.php
index 8286c5b..8f02b24 100644
--- a/include/version.php
+++ b/include/version.php
@@ -1011,7 +1011,7 @@ class version {
             echo $shAdd.'" />';
             echo "\t".'<input type="submit" value="Add note/how-to" class="button">'."\n";
             echo '</form>'."\n";
-            echo '<form method="post" action="'.BASE.'objectManager.php?sClass=tagNoteVersionAssignMgr&sAction=edit&iId='.$this->iVersionId.'">';
+            echo '<form method="post" action="'.BASE.'objectManager.php?sClass=tagNoteVersionAssignMgr&sAction=edit&iId='.$this->iVersionId.'&sReturnTo='.urlencode($this->objectMakeUrl()).'">';
             echo '<input type="submit" value="Manage notes" />';
             echo '</form>';
             echo "</td></tr>";




More information about the wine-cvs mailing list