コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3281 ビュー

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