Differential D11988 Diff 28870 webroot/rsrc/js/application/differential/DifferentialInlineCommentEditor.js
Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/differential/DifferentialInlineCommentEditor.js
Show All 29 Lines | _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(), | changeset : this.getChangeset(), | ||||
text : this.getText() || '' | text : this.getText() || '', | ||||
renderer: this.getRenderer() | |||||
}; | }; | ||||
}, | }, | ||||
_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 236 Lines • ▼ Show 20 Lines | properties : { | ||||
onRight : null, | onRight : null, | ||||
ID : null, | ID : null, | ||||
lineNumber : null, | lineNumber : null, | ||||
changeset : null, | changeset : null, | ||||
length : null, | length : null, | ||||
isNew : null, | isNew : null, | ||||
text : null, | text : null, | ||||
templates : null, | templates : null, | ||||
originalText : null | originalText : null, | ||||
renderer: null | |||||
} | } | ||||
}); | }); |