Browse files

delete confirmation now useing main.getString function.

  • Loading branch information...
1 parent 196fe04 commit 6d9fbe85b639e647de887988590e945691aa2b9c cap2501 committed Oct 8, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ajax/section_classes.js
View
2 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;
}

0 comments on commit 6d9fbe8

Please sign in to comment.