Fixed the component history button.

This commit is contained in:
Scott Erickson 2014-04-17 11:29:12 -07:00
parent 6057bd94b9
commit 8f4535853b
4 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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'

View file

@ -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'