Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
There is a bug preventing the comments for an image revision from being updated. For 2.3.2, a fix is to change the following lines in images.js (starting on line 444):
function updateRevisionComments(id, cont) {
document.body.style.cursor = 'wait';
var data =
;
RPCwrapper(data, updateRevisionCommentsCB, 1);
}
function updateRevisionCommentsCB(data, ioArgs) {
var obj = dijit.byId('comments' + data.items.id);
obj.setValue(data.items.comments);
document.body.style.cursor = 'default';
}
to
function updateRevisionComments(id, cont) {
document.body.style.cursor = 'wait';
var data =
;
RPCwrapper(data, updateRevisionCommentsCB, 1);
}
function updateRevisionCommentsCB(data, ioArgs) {
document.body.style.cursor = 'default';
}