Add legacy ‘from-top’ class at the view layer, not the model

This blends in to our approach with the other legacy panel classes.
This commit is contained in:
Nathan Sobo
2014-11-24 16:38:04 -07:00
parent 73763d3e41
commit 8cb0197638
2 changed files with 1 additions and 3 deletions

View File

@@ -682,8 +682,6 @@ class Workspace extends Model
#
# Returns a {Panel}
addModalPanel: (options={}) ->
# TODO: remove these default classes. They are to supoprt existing themes.
options.className ?= 'overlay from-top'
@addPanel('modal', options)
addPanel: (location, options) ->