mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
delete confirmation now useing main.getString function.
This commit is contained in:
parent
196fe04635
commit
6d9fbe85b6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user