Update LevelEditView.coffee

This commit is contained in:
Imperadeiro98 2015-01-05 23:49:47 +00:00
parent 45b553fbcb
commit 19756b3be2

View file

@ -137,11 +137,11 @@ module.exports = class LevelEditView extends RootView
showUndoDescription: -> showUndoDescription: ->
undoDescription = TreemaNode.getLastTreemaWithFocus().getUndoDescription() undoDescription = TreemaNode.getLastTreemaWithFocus().getUndoDescription()
@$el.find('#undo-button').attr('title', $.i18n.t("general.undo_prefix";) + " " + undoDescription + " " + $.i18n.t("general.undo_shortcut")) @$el.find('#undo-button').attr('title', $.i18n.t("general.undo_prefix") + " " + undoDescription + " " + $.i18n.t("general.undo_shortcut"))
showRedoDescription: -> showRedoDescription: ->
redoDescription = TreemaNode.getLastTreemaWithFocus().getRedoDescription() redoDescription = TreemaNode.getLastTreemaWithFocus().getRedoDescription()
@$el.find('#redo-button').attr('title', $.i18n.t("general.redo_prefix";) + " " + redoDescription + " " + $.i18n.t("general.redo_shortcut")) @$el.find('#redo-button').attr('title', $.i18n.t("general.redo_prefix") + " " + redoDescription + " " + $.i18n.t("general.redo_shortcut"))
getCurrentView: -> getCurrentView: ->
currentViewID = @$el.find('.tab-pane.active').attr('id') currentViewID = @$el.find('.tab-pane.active').attr('id')