mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-25 22:14:29 -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.divider
|
||||||
li.dropdown-header Info
|
li.dropdown-header Info
|
||||||
|
|
||||||
li#history-button
|
li#component-history-button
|
||||||
a(data-i18n="general.version_history") Version History
|
a(data-i18n="general.version_history") Version History
|
||||||
|
|
||||||
.tab-content
|
.tab-content
|
||||||
|
|
|
@ -70,7 +70,7 @@ block header
|
||||||
a(data-toggle="coco-modal", data-target="modal/revert", data-i18n="editor.revert")#revert-button Revert
|
a(data-toggle="coco-modal", data-target="modal/revert", data-i18n="editor.revert")#revert-button Revert
|
||||||
li.divider
|
li.divider
|
||||||
li.dropdown-header Info
|
li.dropdown-header Info
|
||||||
li#history-button
|
li#level-history-button
|
||||||
a(href='#', data-i18n="general.version_history") Version History
|
a(href='#', data-i18n="general.version_history") Version History
|
||||||
li.divider
|
li.divider
|
||||||
li.dropdown-header Help
|
li.dropdown-header Help
|
||||||
|
|
|
@ -12,7 +12,7 @@ module.exports = class LevelComponentEditView extends View
|
||||||
|
|
||||||
events:
|
events:
|
||||||
'click #done-editing-component-button': 'endEditing'
|
'click #done-editing-component-button': 'endEditing'
|
||||||
'click #history-button': 'showVersionHistory'
|
'click #component-history-button': 'showVersionHistory'
|
||||||
'click .nav a': (e) -> $(e.target).tab('show')
|
'click .nav a': (e) -> $(e.target).tab('show')
|
||||||
'click #component-patches-tab': -> @patchesView.load()
|
'click #component-patches-tab': -> @patchesView.load()
|
||||||
'click #patch-component-button': 'startPatchingComponent'
|
'click #patch-component-button': 'startPatchingComponent'
|
||||||
|
|
|
@ -27,7 +27,7 @@ module.exports = class EditorLevelView extends View
|
||||||
'click #play-button': 'onPlayLevel'
|
'click #play-button': 'onPlayLevel'
|
||||||
'click #commit-level-start-button': 'startCommittingLevel'
|
'click #commit-level-start-button': 'startCommittingLevel'
|
||||||
'click #fork-level-start-button': 'startForkingLevel'
|
'click #fork-level-start-button': 'startForkingLevel'
|
||||||
'click #history-button': 'showVersionHistory'
|
'click #level-history-button': 'showVersionHistory'
|
||||||
'click #patches-tab': -> @patchesView.load()
|
'click #patches-tab': -> @patchesView.load()
|
||||||
'click #commit-level-patch-button': 'startPatchingLevel'
|
'click #commit-level-patch-button': 'startPatchingLevel'
|
||||||
'click #watch-button': 'toggleWatchLevel'
|
'click #watch-button': 'toggleWatchLevel'
|
||||||
|
|
Loading…
Reference in a new issue