Skip to content

Commit

Permalink
MDL-21400 fixed regression in chrome, safary etc. - it is not allowed…
Browse files Browse the repository at this point in the history
… to use reserved "delete" keyword as method name, fixed comment
  • Loading branch information
skodak committed Feb 3, 2010
1 parent 38673bf commit bdf6938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comment/comment.js
Expand Up @@ -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};

Expand Down

0 comments on commit bdf6938

Please sign in to comment.