Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a530621
)
MDL-19118, fixed css selector, comments api
author
Dongsheng Cai
<unoter@gmail.com>
Thu, 8 Apr 2010 05:40:11 +0000
(
05:40
+0000)
committer
Dongsheng Cai
<unoter@gmail.com>
Thu, 8 Apr 2010 05:40:11 +0000
(
05:40
+0000)
comment/comment.js
patch
|
blob
|
blame
|
history
diff --git
a/comment/comment.js
b/comment/comment.js
index
11f16d8
..
01e0f10
100644
(file)
--- a/
comment/comment.js
+++ b/
comment/comment.js
@@
-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");