Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-730

cannot update image revision comments under Edit Image

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4
    • web gui (frontend)
    • 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 =

      {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';
      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            jfthomps Josh Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: