Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/diff/DiffChangesetList.js
| Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Lines | construct: function() { | ||||
| JX.Stratcom.listen( | JX.Stratcom.listen( | ||||
| 'mouseup', | 'mouseup', | ||||
| null, | null, | ||||
| onrangeup); | onrangeup); | ||||
| }, | }, | ||||
| properties: { | properties: { | ||||
| translations: null, | translations: null, | ||||
| inlineURI: null | inlineURI: null, | ||||
| inlineListURI: null | |||||
| }, | }, | ||||
| members: { | members: { | ||||
| _initialized: false, | _initialized: false, | ||||
| _asleep: true, | _asleep: true, | ||||
| _changesets: null, | _changesets: null, | ||||
| _cursorItem: null, | _cursorItem: null, | ||||
| ▲ Show 20 Lines • Show All 1,544 Lines • ▼ Show 20 Lines | _getMenuButton: function() { | ||||
| .setHandler(handler); | .setHandler(handler); | ||||
| list.addItem(item); | list.addItem(item); | ||||
| this._menuItems[k] = item; | this._menuItems[k] = item; | ||||
| } | } | ||||
| dropdown.listen('open', JX.bind(this, this._ondropdown)); | dropdown.listen('open', JX.bind(this, this._ondropdown)); | ||||
| var pht = this.getTranslations(); | |||||
| if (this.getInlineListURI()) { | |||||
| list.addItem( | |||||
| new JX.PHUIXActionView() | |||||
| .setDivider(true)); | |||||
| list.addItem( | |||||
| new JX.PHUIXActionView() | |||||
| .setIcon('fa-link') | |||||
| .setName(pht('List Inline Comments')) | |||||
| .setHref(this.getInlineListURI())); | |||||
| } | |||||
| this._menuButton = button; | this._menuButton = button; | ||||
| this._dropdownMenu = dropdown; | this._dropdownMenu = dropdown; | ||||
| } | } | ||||
| return this._menuButton; | return this._menuButton; | ||||
| }, | }, | ||||
| _ondropdown: function() { | _ondropdown: function() { | ||||
| ▲ Show 20 Lines • Show All 153 Lines • Show Last 20 Lines | |||||