From bdf693894fed203a2a59037fff7dd6d6fcc2851a Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Wed, 3 Feb 2010 14:43:13 +0000 Subject: [PATCH] MDL-21400 fixed regression in chrome, safary etc. - it is not allowed to use reserved "delete" keyword as method name, fixed comment --- comment/comment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comment/comment.js b/comment/comment.js index 088cfbe4f157d..cc8c977b56fd8 100644 --- a/comment/comment.js +++ b/comment/comment.js @@ -198,7 +198,7 @@ M.core_comment = { }); }, - dodelete: function(id) { // note: delete is a reserved work in javascript! + dodelete: function(id) { // note: delete is a reserved word in javascript, chrome and safary do not like it at all here! var scope = this; var params = {'commentid': id};