Browse Source

default dbo tostring

tags/v0.1.5
Robin Thoni 7 years ago
parent
commit
3abcac1eb3
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      src/Business/lu-webapi-crud-business.js

+ 5
- 1
src/Business/lu-webapi-crud-business.js View File

@@ -15,7 +15,11 @@
15 15
                 Business.dataAccess = dataAccess;
16 16
 
17 17
                 Business.defaultDbo = {
18
-                    id: null
18
+                    id: null,
19
+                    toString: function()
20
+                    {
21
+                        return this.id;
22
+                    }
19 23
                 };
20 24
 
21 25
                 Business.extendDeep = function extendDeep(dst) {

Loading…
Cancel
Save