Josh Thompson created VCL-730:
---------------------------------
Summary: cannot update image revision comments under Edit Image
Key: VCL-730
URL: https://issues.apache.org/jira/browse/VCL-730
Project: VCL
Issue Type: Bug
Components: web gui (frontend)
Reporter: Josh Thompson
Fix For: 2.3.3, 2.4
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 = {continuation: obj.value,
comments: dijit.byId(id).value};
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 = {continuation: cont,
comments: dijit.byId(id).value};
RPCwrapper(data, updateRevisionCommentsCB, 1);
}
function updateRevisionCommentsCB(data, ioArgs) {
document.body.style.cursor = 'default';
}
--
This message was sent by Atlassian JIRA
(v6.1#6144)