From 5d52994004f69e00141514328d6def3563d784eb Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Mon, 29 Oct 2007 01:58:01 +0000 Subject: [PATCH] #1483 - Rollback dialog uses lightbox, while rest of dialogs use javascript boxes git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@43931 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- javascript/CMSMain_right.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/javascript/CMSMain_right.js b/javascript/CMSMain_right.js index 99a6c799..5cd89dfe 100755 --- a/javascript/CMSMain_right.js +++ b/javascript/CMSMain_right.js @@ -45,7 +45,11 @@ function action_rollback_right() { } } - doYouWantToRollback(options); + if(confirm("Do you really want to copy the published content to the stage site?")) { + options.OK(); + } else { + return false; + } } /**