Why is ExtJS 5 Container click event no longer fired? -


In our 4.2.2 app we have registered a click event on a container, but it does not work in ExtJS 5 . Any ideas?

  'afterrender': function (comp) {comp.getEl (). ({'Click': {fn: function (el) {this.fireEvent ('click', comp);}, scope: comp}, 'mouseover': {fn: function (L) {el.target.style .cursor = "pointer";}, scope: comp}}, comp); } Removing the scope of "Computer" from the end of the "Ongoing" call I    

Before:

  'afterrender': function (vamp) {comp.getEl (). ({'Click': {fn: function (el) {this .fireEvent ('click', comp);}, scope: comp}, 'mouseover': {fn: function (el) {el.target.style .cursor = "pointer";}, scope: comp}}, comp); }   

after:

  'afterrender': function (comp) {comp.getEl (). On ({'click': {fn: function (AL) {Effer event ('click', comp);}, scope: comp}, 'mouseover': {fn: function (L) {el.target.style. Cursor = "pointer";}, scope: comp}}); }    

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -