added warning
This commit is contained in:
parent
1bd44a6c90
commit
8a32e4a763
@ -34,6 +34,7 @@ import se.su.dsv.scipro.icons.ImageObject;
|
||||
import se.su.dsv.scipro.project.pages.ProjectViewCheckListPage;
|
||||
import se.su.dsv.scipro.supervisor.pages.SupervisorChecklistPage;
|
||||
import se.su.dsv.scipro.supervisor.pages.SupervisorViewCheckListPage;
|
||||
import se.su.dsv.scipro.util.JavascriptEventConfirmation;
|
||||
|
||||
/**
|
||||
* @author Fredrik Norberg fnorbe@dsv.su.se
|
||||
@ -136,6 +137,9 @@ public class ListCheckListPanel extends Panel {
|
||||
// }
|
||||
}
|
||||
};
|
||||
|
||||
deleteLink.add(new JavascriptEventConfirmation("onclick", "Are you sure you want to delete this checklist? Any answers will be lost."));
|
||||
|
||||
BookmarkablePageLink<Void> checkListLink = null;
|
||||
|
||||
item.add(new EmptyPanel("deleteLabel"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user