.bind(“move_node.jstree”,.. -> data.rslt.obj undefined. How to get node data?

扶醉桌前 提交于 2019-12-05 06:58:23

I found the answer to my own question pretty soon after asking about it (typical).

One must use data.rslt.o.attr("id") instead of -.obj.- An odd inconsistency if you ask me.

I would delete this post, but I think this could be a pretty common problem. If someone thinks otherwise, feel free to delete.

if(!p)
  return false;
if(m.cr===-1)
  return false;

return true;

next time try to do it like this:

return (p && m.cr !== -1);
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!