From 8f4535853b81b5b02f314e20365e103bf74ed2b7 Mon Sep 17 00:00:00 2001 From: Scott Erickson Date: Thu, 17 Apr 2014 11:29:12 -0700 Subject: [PATCH] Fixed the component history button. --- app/templates/editor/level/component/edit.jade | 2 +- app/templates/editor/level/edit.jade | 2 +- app/views/editor/level/component/edit.coffee | 2 +- app/views/editor/level/edit.coffee | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/templates/editor/level/component/edit.jade b/app/templates/editor/level/component/edit.jade index 74d90e625..655ac818f 100644 --- a/app/templates/editor/level/component/edit.jade +++ b/app/templates/editor/level/component/edit.jade @@ -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 diff --git a/app/templates/editor/level/edit.jade b/app/templates/editor/level/edit.jade index ea902d695..20898abf6 100644 --- a/app/templates/editor/level/edit.jade +++ b/app/templates/editor/level/edit.jade @@ -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 diff --git a/app/views/editor/level/component/edit.coffee b/app/views/editor/level/component/edit.coffee index fa2f3609f..7fc326b88 100644 --- a/app/views/editor/level/component/edit.coffee +++ b/app/views/editor/level/component/edit.coffee @@ -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' diff --git a/app/views/editor/level/edit.coffee b/app/views/editor/level/edit.coffee index 26808a742..fdc4727aa 100644 --- a/app/views/editor/level/edit.coffee +++ b/app/views/editor/level/edit.coffee @@ -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'