跳至內容
選單
此問題已被標幟
1 回覆
3291 瀏覽次數

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).