~bcsaller/juju-gui/topology-panzoom

« back to all changes in this revision

Viewing changes to app/app.js

  • Committer: Benjamin Saller
  • Date: 2012-12-18 15:50:29 UTC
  • Revision ID: bcsaller@gmail.com-20121218155029-7gp75qpvd0eumebj
trying to use showview again

Show diffs side-by-side

added added

removed removed

Lines of Context:
552
552
 
553
553
      if (!view.instance) {
554
554
        console.log('new env view');
555
 
        view.instance = new views.environment(options);
556
 
        view.instance.addTarget(this);
557
 
        view.instance.render();
 
555
        //view.instance = new views.environment(options);
 
556
        this.showView('environment', options, {render: true});
 
557
        //view.instance.addTarget(this);
 
558
        //view.instance.render();
558
559
      }
559
560
      view.instance.postRender();
560
561
    },