mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 19:06:59 -05:00
Fixed the component history button.
This commit is contained in:
parent
6057bd94b9
commit
8f4535853b
4 changed files with 4 additions and 4 deletions
|
@ -37,7 +37,7 @@ nav.navbar.navbar-default(role='navigation')
|
|||
li.divider
|
||||
li.dropdown-header Info
|
||||
|
||||
li#history-button
|
||||
li#component-history-button
|
||||
a(data-i18n="general.version_history") Version History
|
||||
|
||||
.tab-content
|
||||
|
|
|
@ -70,7 +70,7 @@ block header
|
|||
a(data-toggle="coco-modal", data-target="modal/revert", data-i18n="editor.revert")#revert-button Revert
|
||||
li.divider
|
||||
li.dropdown-header Info
|
||||
li#history-button
|
||||
li#level-history-button
|
||||
a(href='#', data-i18n="general.version_history") Version History
|
||||
li.divider
|
||||
li.dropdown-header Help
|
||||
|
|
|
@ -12,7 +12,7 @@ module.exports = class LevelComponentEditView extends View
|
|||
|
||||
events:
|
||||
'click #done-editing-component-button': 'endEditing'
|
||||
'click #history-button': 'showVersionHistory'
|
||||
'click #component-history-button': 'showVersionHistory'
|
||||
'click .nav a': (e) -> $(e.target).tab('show')
|
||||
'click #component-patches-tab': -> @patchesView.load()
|
||||
'click #patch-component-button': 'startPatchingComponent'
|
||||
|
|
|
@ -27,7 +27,7 @@ module.exports = class EditorLevelView extends View
|
|||
'click #play-button': 'onPlayLevel'
|
||||
'click #commit-level-start-button': 'startCommittingLevel'
|
||||
'click #fork-level-start-button': 'startForkingLevel'
|
||||
'click #history-button': 'showVersionHistory'
|
||||
'click #level-history-button': 'showVersionHistory'
|
||||
'click #patches-tab': -> @patchesView.load()
|
||||
'click #commit-level-patch-button': 'startPatchingLevel'
|
||||
'click #watch-button': 'toggleWatchLevel'
|
||||
|
|
Loading…
Reference in a new issue