Differential D12017 Diff 28942 webroot/rsrc/js/application/differential/DifferentialInlineCommentEditor.js
Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/differential/DifferentialInlineCommentEditor.js
| Show All 28 Lines | members : { | ||||
| _buildRequestData : function() { | _buildRequestData : function() { | ||||
| return { | return { | ||||
| op : this.getOperation(), | op : this.getOperation(), | ||||
| on_right : this.getOnRight(), | on_right : this.getOnRight(), | ||||
| id : this.getID(), | id : this.getID(), | ||||
| number : this.getLineNumber(), | number : this.getLineNumber(), | ||||
| is_new : this.getIsNew(), | is_new : this.getIsNew(), | ||||
| length : this.getLength(), | length : this.getLength(), | ||||
| changeset : this.getChangeset(), | changesetID : this.getChangesetID(), | ||||
| text : this.getText() || '', | text : this.getText() || '', | ||||
| renderer: this.getRenderer() | renderer: this.getRenderer(), | ||||
| replyToCommentPHID: this.getReplyToCommentPHID() || '', | |||||
| }; | }; | ||||
| }, | }, | ||||
| _draw : function(content, exact_row) { | _draw : function(content, exact_row) { | ||||
| var row = this.getRow(); | var row = this.getRow(); | ||||
| var table = this.getTable(); | var table = this.getTable(); | ||||
| var target = exact_row ? row : this._skipOverInlineCommentRows(row); | var target = exact_row ? row : this._skipOverInlineCommentRows(row); | ||||
| function copyRows(dst, src, before) { | function copyRows(dst, src, before) { | ||||
| ▲ Show 20 Lines • Show All 231 Lines • ▼ Show 20 Lines | JX.install('DifferentialInlineCommentEditor', { | ||||
| properties : { | properties : { | ||||
| operation : null, | operation : null, | ||||
| row : null, | row : null, | ||||
| otherRows: [], | otherRows: [], | ||||
| table : null, | table : null, | ||||
| onRight : null, | onRight : null, | ||||
| ID : null, | ID : null, | ||||
| lineNumber : null, | lineNumber : null, | ||||
| changeset : null, | changesetID : null, | ||||
| length : null, | length : null, | ||||
| isNew : null, | isNew : null, | ||||
| text : null, | text : null, | ||||
| templates : null, | templates : null, | ||||
| originalText : null, | originalText : null, | ||||
| renderer: null | renderer: null, | ||||
| replyToCommentPHID: null | |||||
| } | } | ||||
| }); | }); | ||||