Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/diff/DiffChangesetList.js
Show First 20 Lines • Show All 336 Lines • ▼ Show 20 Lines | members: { | ||||
_onkeyreply: function(is_quote) { | _onkeyreply: function(is_quote) { | ||||
var cursor = this._cursorItem; | var cursor = this._cursorItem; | ||||
if (cursor) { | if (cursor) { | ||||
if (cursor.type == 'comment') { | if (cursor.type == 'comment') { | ||||
var inline = cursor.target; | var inline = cursor.target; | ||||
if (inline.canReply()) { | if (inline.canReply()) { | ||||
this.setFocus(null); | this.setFocus(null); | ||||
inline.reply(true); | inline.reply(is_quote); | ||||
return; | return; | ||||
} | } | ||||
} | } | ||||
// If the keyboard cursor is selecting a range of lines, we may have | // If the keyboard cursor is selecting a range of lines, we may have | ||||
// a mixture of old and new changes on the selected rows. It is not | // a mixture of old and new changes on the selected rows. It is not | ||||
// entirely unambiguous what the user means when they say they want | // entirely unambiguous what the user means when they say they want | ||||
// to reply to this, but we use this logic: reply on the new file if | // to reply to this, but we use this logic: reply on the new file if | ||||
▲ Show 20 Lines • Show All 2,435 Lines • Show Last 20 Lines |