marionette-rails 1.0.0.rc4 → 1.0.0.rc5
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
|
|
1
|
-
// Backbone.Marionette, v1.0.0-
|
1
|
+
// Backbone.Marionette, v1.0.0-rc5
|
2
2
|
// Copyright (c)2013 Derick Bailey, Muted Solutions, LLC.
|
3
3
|
// Distributed under MIT license
|
4
4
|
// http://github.com/marionettejs/backbone.marionette
|
@@ -1328,15 +1328,15 @@ Marionette.CollectionView = Marionette.View.extend({
|
|
1328
1328
|
// remove and/or close it later
|
1329
1329
|
this.children.add(view);
|
1330
1330
|
|
1331
|
+
// Render it and show it
|
1332
|
+
this.renderItemView(view, index);
|
1333
|
+
|
1331
1334
|
// call the "show" method if the collection view
|
1332
1335
|
// has already been shown
|
1333
1336
|
if (this._isShown){
|
1334
1337
|
Marionette.triggerMethod.call(view, "show");
|
1335
1338
|
}
|
1336
1339
|
|
1337
|
-
// Render it and show it
|
1338
|
-
var renderResult = this.renderItemView(view, index);
|
1339
|
-
|
1340
1340
|
// this view was added
|
1341
1341
|
this.triggerMethod("after:item:added", view);
|
1342
1342
|
},
|