Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4729 Vizualizări

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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iun. 23
2070
1
mai 23
2016
1
oct. 22
4175
0
iul. 21
1913
0
mai 20
3199