delete confirmation now useing main.getString function.

This commit is contained in:
cap2501 2006-10-08 21:23:51 +00:00
parent 196fe04635
commit 6d9fbe85b6

View File

@ -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;
}