#4356 request_ev.js: append the incoming comment to the container instead of replacing inside html
Merged 5 years ago by pingou. Opened 5 years ago by jlanda.
jlanda/pagure request_ev.js  into  master

file modified
+2 -2
@@ -91,13 +91,13 @@ 

  

      //add comment to comments tab

      var cfield = $('#request_comment');

-     cfield.html(cfield.html() + _data);

+     cfield.append(_data);

  

    } else {

      // Generic comment

      console.log('generic');

      var field = $('#request_comment');

-     field.html(field.html() + _data);

+     field.append(_data);

    }

  }