This commit is contained in:
Garen Torikian
2013-03-30 18:36:50 -07:00
parent b8d0544517
commit 209eceee6a
2 changed files with 2 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ class CommandPanelView extends View
@searchLoadingMessage.show()
@errorMessages.empty()
project.previewList = @previewList
try
@commandInterpreter.eval(command, rootView.getActivePaneItem()).done ({operationsToPreview, errorMessages}) =>
@searchLoadingMessage.hide()
@@ -149,7 +149,7 @@ class CommandPanelView extends View
else
@detach()
catch error
@loadingMessage.hide()
@searchLoadingMessage.hide()
if error.name is "SyntaxError"
@flashError()
return

View File

@@ -70,7 +70,6 @@ class PreviewList extends ScrollView
pathViewForPath: (path) ->
pathView = @viewsForPath[path]
console.log(path)
if not pathView
pathView = new PathView({path: path, previewList: this})
@viewsForPath[path] = pathView