Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/diff/DiffChangesetList.js
| Show First 20 Lines • Show All 1,125 Lines • ▼ Show 20 Lines | _onselect: function(e) { | ||||
| return; | return; | ||||
| } | } | ||||
| var inline = this._getInlineForEvent(e); | var inline = this._getInlineForEvent(e); | ||||
| if (!inline) { | if (!inline) { | ||||
| return; | return; | ||||
| } | } | ||||
| // The user definitely clicked an inline, so we're going to handle the | // NOTE: Don't kill or prevent the event. In particular, we want this | ||||
| // event. | // click to clear any text selection as it normally would. | ||||
| e.kill(); | |||||
| this.selectInline(inline); | this.selectInline(inline); | ||||
| }, | }, | ||||
| selectInline: function(inline, force, scroll) { | selectInline: function(inline, force, scroll) { | ||||
| var selection = this._getSelectionState(); | var selection = this._getSelectionState(); | ||||
| var item; | var item; | ||||
| ▲ Show 20 Lines • Show All 1,603 Lines • Show Last 20 Lines | |||||