Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4700 Zobrazení

In OpenERP 7.0-20131109-002558 version graph view Bar Chart (after clicking the bar chart diagram) its shows error - TypeError cur is null

Related Issues in Launchpad shows:- https://bugs.launchpad.net/ocb-addons/+bug/1195904

How to fix the above error in the version OpenERP 7.0-20131109-002558 Base on this issues in java script which files and method need to modify?..

Avatar
Zrušit
Autor Nejlepší odpověď

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});
  });

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvn 23
2032
1
kvě 23
1983
1
říj 22
4147
0
čvc 21
1900
0
kvě 20
3183