Explorar el Código

default dbo tostring

tags/v0.1.5
Robin Thoni hace 7 años
padre
commit
3abcac1eb3
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5
    1
      src/Business/lu-webapi-crud-business.js

+ 5
- 1
src/Business/lu-webapi-crud-business.js Ver fichero

@@ -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…
Cancelar
Guardar