angular-sails-bind icon indicating copy to clipboard operation
angular-sails-bind copied to clipboard

'undefined is not a function' on Update?

Open iDVB opened this issue 10 years ago • 4 comments

The model collection seems to be initing just fine. However, when I use another browser window to PUT changes to the model, the moment I submit those changes I get this error on the front end of the app... undefinederror

I'm logging out the section of angular-sails-bind.js that is erring out. console

Seems like I'm almost there, but updates is breaking the front end.

iDVB avatar Jul 06 '14 14:07 iDVB

Ouch. I'll take a look at it today.

Thanks for the help!

Enviado desde mi iPhone

El 06/07/2014, a las 11:52, "iDVB" <[email protected]mailto:[email protected]> escribió:

The model collection seems to be initing just fine. However, when I use another browser window to PUT changes to the model, the moment I submit those changes I get this error on the front end of the app... [undefinederror]https://camo.githubusercontent.com/446139af22db696f90f7b8477fac3edbf61f8dbd/687474703a2f2f676f6f2e676c2f35577036626e

I'm logging out the section of angular-sails-bind.js that is erring out. [console]https://camo.githubusercontent.com/a9df7e51cd984802fa6ceb8194ec00e2c7be09b3/687474703a2f2f676f6f2e676c2f636541764544

Seems like I'm almost there, but updates is breaking the front end.

— Reply to this email directly or view it on GitHubhttps://github.com/diegopamio/angular-sails-bind/issues/6.

diegopamio avatar Jul 06 '14 15:07 diegopamio

Seems like it might be a scoping issue? I think the 'this' in this case is supposed to target the array and not the socket?

iDVB avatar Jul 06 '14 19:07 iDVB

I've made several changes since then, did this issue got fixed?

diegopamio avatar May 04 '15 14:05 diegopamio

Wow, this is an olllllld thread of mine. :D Sorry, I've not been able to retest against the latest version. I guess if it works you can close it?

iDVB avatar May 04 '15 18:05 iDVB