File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 132132 "raf" : " ^3.1.0" ,
133133 "run-sequence" : " ^1.1.4" ,
134134 "run-series" : " ^1.1.4" ,
135- "storage-mixin" : " ^0.5.0 " ,
135+ "storage-mixin" : " ^0.5.1 " ,
136136 "stream-combiner2" : " ^1.1.1" ,
137137 "uuid" : " ^2.0.1" ,
138138 "vinyl-buffer" : " ^1.0.0" ,
Original file line number Diff line number Diff line change @@ -216,7 +216,9 @@ var ConnectView = View.extend({
216216 initialize : function ( ) {
217217 document . title = 'Connect to MongoDB' ;
218218 this . connections . once ( 'sync' , this . connectionsFetched . bind ( this ) ) ;
219- this . connections . fetch ( ) ;
219+ // use {reset: true} to trigger `reset` event so ConnectionCollection
220+ // can add its listeners to the models.
221+ this . connections . fetch ( { reset : true } ) ;
220222 this . stateMachine = new BehaviorStateMachine ( this ) ;
221223 this . on ( 'change:connectionNameEmpty' ,
222224 this . connectionNameEmptyChanged . bind ( this ) ) ;
You can’t perform that action at this time.
0 commit comments