#1487 Incorrect dialog

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@43882 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-10-26 03:11:37 +00:00
parent 499a951b69
commit 1e4c2a5caf

View File

@ -102,7 +102,7 @@ deletegroup = {
if(deletegroup.selectedNodes[idx]) csvIDs += (csvIDs ? "," : "") + idx; if(deletegroup.selectedNodes[idx]) csvIDs += (csvIDs ? "," : "") + idx;
} }
if(csvIDs) { if(csvIDs) {
if(confirm("Do you really want to these groups?")) { if(confirm("Do you really want to delete these groups?")) {
$('deletegroup_options').elements.csvIDs.value = csvIDs; $('deletegroup_options').elements.csvIDs.value = csvIDs;
Ajax.SubmitForm('deletegroup_options', null, { Ajax.SubmitForm('deletegroup_options', null, {
@ -123,7 +123,7 @@ deletegroup = {
$('deletegroup').getElementsByTagName('button')[0].onclick(); $('deletegroup').getElementsByTagName('button')[0].onclick();
} }
} else { } else {
alert("Please select at least 1 group."); alert("Please select at least one group.");
} }
return false; return false;