Permalink
Browse files

resolved: MDL-6579

created language independant prompt for resource/activity deletion
  • Loading branch information...
1 parent 3287cb4 commit f2e3c53ad669cf75c5ccc290c22de19e5d0e3870 cap2501 committed Oct 8, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}

0 comments on commit f2e3c53

Please sign in to comment.