Skip to content

Commit

Permalink
more modifications to editability
Browse files Browse the repository at this point in the history
  • Loading branch information
W. Cole Davis committed Sep 17, 2012
1 parent 1f2400a commit 5c0f8f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
24 changes: 1 addition & 23 deletions source/views/datasource.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
enyo.kind({
name: "XV.DatasourceForm",
kind: "XV.Editor",
attributes: [
{elem: "name", field: "name"},
{elem: "hostname", field: "hostname"},
{elem: "port", field: "port"},
{elem: "description", field: "description"},
{elem: "location", field: "location"}
],
components: [
{name: "controls", kind: "XV.EditorBar"},
{name: "form", kind: "XV.DatasourceFormElements"}
]
});

enyo.kind({
name: "XV.DatasourceForm",
published: {
Expand All @@ -22,13 +6,7 @@ enyo.kind({
isNew: false
},
handlers: {
onCancelTapped: "cancelTapped",
onSaveTapped: "saveTapped",
onDeleteTapped: "deleteTapped"
},
events: {
onDidSave: "",
onDidDestroyModel: ""
onCancelTapped: "cancelTapped"
},
attributes: [
{elem: "name", field: "name"},
Expand Down
1 change: 0 additions & 1 deletion source/views/datasources.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ enyo.kind({
fit: true,
classes: "xv-datasource-selection-list",
components: [
{kind: "XV.ListControlBar"},
{kind: "XV.DatasourceList"}
]
});
Expand Down

0 comments on commit 5c0f8f5

Please sign in to comment.