Skip to content
Permalink
Browse files

[JENKINS-18680] Comments.

  • Loading branch information...
jglick committed Dec 19, 2013
1 parent a7966ad commit e00d2b7eb16de5b554b27fba680eb1d8dbfec90f
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/main/java/com/cloudbees/hudson/plugins/folder/Folder.java
@@ -543,6 +543,7 @@ private File getJobsDir() {
public void onRenamed(TopLevelItem item, String oldName, String newName) throws IOException {
items.remove(oldName);
items.put(newName, item);
// For compatibility with old views:
for (View v : views) {
v.onJobRenamed(item, oldName, newName);
}
@@ -583,6 +584,7 @@ public void onCopiedFrom(Item _src) {
public void onDeleted(TopLevelItem item) throws IOException {
ItemListener.fireOnDeleted(item);
items.remove(item.getName());
// For compatibility with old views:
for (View v : views) {
v.onJobRenamed(item, item.getName(), null);
}

0 comments on commit e00d2b7

Please sign in to comment.
You can’t perform that action at this time.