Skip to content

Commit

Permalink
moved list to grid
Browse files Browse the repository at this point in the history
  • Loading branch information
wshager committed Dec 14, 2014
1 parent 5fc90d8 commit 8d82d81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Builder.js
Expand Up @@ -206,8 +206,8 @@ var Builder = declare("dforma.Builder",[_GroupMixin,Form],{
case "combo":
req = "dijit/form/ComboBox";
break;
case "list":
req = "dforma/List";
case "grid":
req = "dforma/Grid";
break;
case "multiselect":
case "multiselect_freekey":
Expand Down Expand Up @@ -328,7 +328,7 @@ var Builder = declare("dforma.Builder",[_GroupMixin,Form],{
case "textarea":
cc.block = true;
break;
case "list":
case "grid":
cc.hint = c.description || "";
if(c.columns) {
for(var k in c.columns) {
Expand Down Expand Up @@ -461,7 +461,7 @@ var Builder = declare("dforma.Builder",[_GroupMixin,Form],{
if(c.controller) {
controller = parent.controllerWidget = co;
}
if(c.type=="list") {
if(c.type=="grid") {
parent.addChild(co);
cc.subform.parentform = co;
parent.addChild(cc.subform);
Expand Down
File renamed without changes.

0 comments on commit 8d82d81

Please sign in to comment.