Skip to content

Commit

Permalink
Fixed Issue #13,Issue #11
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf4ood committed Oct 6, 2013
1 parent b677d82 commit 5a00505
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/scripts/services/database-services.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ database.factory('Database', function (DatabaseApi, localStorageService) {
return type;
},
isLink: function (type) {
return type == "LINKSET";
return type == "LINKSET" || type == "LINKLIST";
},
listField: function (clazz) {
var metadata = this.getMetadata();
Expand Down Expand Up @@ -390,6 +390,7 @@ database.factory('Database', function (DatabaseApi, localStorageService) {
if (!type) {
type = self.findTypeFromFieldTipes(doc, element);
}
console.log(type);
return self.isLink(type);
});
return all;
Expand Down
4 changes: 2 additions & 2 deletions app/views/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ <h2>Database
<label class="control-label">User</label>

<div class="controls">
<input id="user" type="text" ng-model="username" required value=""/>
<input id="user" type="text" ng-model="username" value=""/>
</div>
</div>
<div class="control-group">
<label class="control-label">Password</label>

<div class="controls">
<input id="password" type="password" ng-model="password" required value=""/>
<input id="password" type="password" ng-model="password" value=""/>
</div>
</div>
<div class="form-actions">
Expand Down

0 comments on commit 5a00505

Please sign in to comment.