跳至内容
菜单
此问题已终结
1 回复
3185 查看

Under the reporting module..when u hover your mouse against a graph i get the error TypeError: cur is null.

Please can someone give a step by step porcedure on how to fix this.

Thanks

形象
丢弃
最佳答案

Applied the changes in the File: base_import/static/lib/select2/select2.js 

http://bazaar.launchpad.net/~ocb/ocb-addons/7.0/revision/9966

In the above link applied the reverse steps after that  cur is null issue fixed.

Example

The below code removed:-

/*  $(document).delegate("*", "mousemove", function (e) {
      $.data(document, "select2-lastpos", {x: e.pageX, y: e.pageY});
   }); */

The below code added:-

 this.dropdown.delegate(resultsSelector, "mousemove", function (e) {
   $.data(document, "select2-lastpos", {x: e.pageX, y: e.pageY});
  });

形象
丢弃
编写者

The change you mentioned above is already active on my server. but the TyoeError: cur is null is still showing up when i hover my mouse against a graph in the reporting module.

i am also facing the same issues after applying the changes fixed the issue. (mentioned in the link i applied the reverse process).