mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 14:02:22 +00:00
views can be renamed.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3702 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
81acecb367
commit
efae3399b1
2 files changed
+7
-2
No files matched your search
@@ -26,7 +26,7 @@ public class ListView extends View {
|
||||
/*package*/ final Set<String> jobNames = new TreeSet<String>();
|
||||
|
||||
/**
|
||||
* PluginName of this view.
|
||||
* Name of this view.
|
||||
*/
|
||||
private String name;
|
||||
|
||||
@@ -109,9 +109,11 @@ public class ListView extends View {
|
||||
|
||||
description = Util.nullify(req.getParameter("description"));
|
||||
|
||||
name = req.getParameter("name");
|
||||
|
||||
owner.save();
|
||||
|
||||
rsp.sendRedirect(".");
|
||||
rsp.sendRedirect("../"+ req.getParameter("name"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user