added warning

This commit is contained in:
Fredrik Friis 2012-02-27 16:38:04 +09:00
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"));