Fixes the vanished options.
authordsc <dsc@less.ly>
Wed, 29 Feb 2012 23:59:25 +0000 (15:59 -0800)
committerdsc <dsc@less.ly>
Wed, 29 Feb 2012 23:59:25 +0000 (15:59 -0800)
lib/base.co
lib/graph/graph-view.co

index 3f96421..33fb3bf 100644 (file)
@@ -97,9 +97,9 @@ BaseView = exports.BaseView = Backbone.View.extend do # {{{
         _.bindAll this, ...@__bind__ if @__bind__.length
         @__super__ = @constructor.__super__
         
-        @build()
         @model.view = this
         @$el.data { @model, view:this }
+        @build()
         @model.on 'change',  @render, this
         @model.on 'destroy', @remove, this
     
index 3d87cb0..e3446d5 100644 (file)
@@ -74,7 +74,7 @@ GraphOptionsScaffold = exports.GraphOptionsScaffold = Scaffold.extend do # {{{
     
     render: ->
         # console.log "#this.render() -> .isotope()"
-        @__super__.render ...
+        # @__super__.render ...
         return this unless @ready
         @$el.find '.options.control-group' .isotope do
             itemSelector    : '.field.option'