summaryrefslogtreecommitdiffstats
path: root/web/layout/stacked.js
blob: ecebbd831c2393735683120d3888b4411ea491ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * Copyright (c) 2012-2014 Kaarle Ritvanen
 * See LICENSE file for license details
 */

define(["acf2/type", "acf2/widget/inline"], function(type, Base) {
    return Base.extend({
	widget: function(meta) {
	    return type.isTreeNode(meta) ? Base : Base.widget.call(this, meta);
	}
    });
});