From 6d9fbe85b639e647de887988590e945691aa2b9c Mon Sep 17 00:00:00 2001 From: cap2501 Date: Sun, 8 Oct 2006 21:23:51 +0000 Subject: [PATCH] delete confirmation now useing main.getString function. --- 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 c1bfe15e95d..96ed8e5f4dc 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(main.portal.strings['deletecheck'].replace(/_var_/,main.portal.strings[this.is]+" "+this.id))) { + if (!confirm(main.getString('deletecheck',main.getString(this.is)+" "+this.id))) { return false; }