MDL-19118, fixed css selector, comments api

This commit is contained in:
Dongsheng Cai
2010-04-08 05:40:11 +00:00
parent a53062105b
commit b45fde0572
+1 -1
View File
@@ -253,7 +253,7 @@ bodyContent: '<a href="#" id="confirmdelete-'+this.client_id+'">'+M.str.moodle.y
register_delete_buttons: function() {
var scope = this;
// page buttons
Y.all('div.comment-content a').each(
Y.all('div.comment-delete a').each(
function(node, id) {
var theid = node.get('id');
var parseid = new RegExp("comment-delete-"+scope.client_id+"-(\\d+)", "i");