Merge branch 'MDL-33186-master-1' of git://git.luns.net.uk/moodle

This commit is contained in:
Dan Poltawski 2012-05-24 15:53:39 +08:00
commit ab1c1571a3

View File

@ -385,6 +385,9 @@ bodyContent: '<div class="comment-delete-confirm"><a href="#" id="confirmdelete-
},
toggle_textarea: function(focus) {
var t = Y.one('#dlg-content-'+this.client_id);
if (!t) {
return false;
}
if (focus) {
if (t.get('value') == M.str.moodle.addcomment) {
t.set('value', '');