From f2e3c53ad669cf75c5ccc290c22de19e5d0e3870 Mon Sep 17 00:00:00 2001 From: cap2501 Date: Sun, 8 Oct 2006 21:09:47 +0000 Subject: [PATCH] resolved: MDL-6579 created language independant prompt for resource/activity deletion --- lib/ajax/section_classes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ajax/section_classes.js b/lib/ajax/section_classes.js index 934ab51451..c1bfe15e95 100755 --- a/lib/ajax/section_classes.js +++ b/lib/ajax/section_classes.js @@ -542,7 +542,7 @@ resource_class.prototype.toggle_hide = function(target,e,superficial,force) { resource_class.prototype.delete_button = function() { if (this.debug)YAHOO.log("Deleteing "+this.getEl().id+"from parent "+this.parentObj.getEl().id); - if (!confirm('Are you sure you wish to delete this '+this.is+"?")) { + if (!confirm(main.portal.strings['deletecheck'].replace(/_var_/,main.portal.strings[this.is]+" "+this.id))) { return false; } -- 2.39.5