Fix incorrect insertion order for containers

This commit is contained in:
Tautvidas Sipavičius
2015-12-17 15:21:56 +02:00
parent 3d82230d10
commit 155ff09280

View File

@ -232,12 +232,9 @@ define([
_.extend(this, this._buildRegions(this.regions)); _.extend(this, this._buildRegions(this.regions));
}, },
getDropFunc: function() { getDropFunc: function() {
var that = this;
return function() { return function() {
var newModel = that.model.clone(); return this.model.clone();
that.model.destroy(); }.bind(this);
return newModel;
};
}, },
showBlock: function() { showBlock: function() {
if (this._isFirstRender) { if (this._isFirstRender) {