Files
edx-platform/cms/static/js/models/xblock_info.js
Andy Armstrong fcc0231d4d Add new container page that can display nested xblocks
This is the changes for STUD-1244, which introduces the ability for Studio to display
arbitrarily nested xblocks. In this change, a new container page is introduced which can
display nested xblocks. In particular, the xblock type of 'vertical' is special cased
to be shown inline as a collapsible section. The unit page is mostly unchanged, except
that container xblock's are shown as a link to their container page, rather than being
shown inline.
2014-02-27 14:53:05 -05:00

16 lines
402 B
JavaScript

define(["backbone", "js/utils/module"], function(Backbone, ModuleUtils) {
var XBlockInfo = Backbone.Model.extend({
urlRoot: ModuleUtils.urlRoot,
defaults: {
"id": null,
"display_name": null,
"category": null,
"is_draft": null,
"is_container": null,
"children": []
}
});
return XBlockInfo;
});