I am trying to edit a number of cells in the grid. I am able to edit all cells except one cell. All cells have same data type i.e. string. When I click on that particular cell, I get the error
Uncaught TypeError: Object #<error> has no method 'indexOf' in ext-all-dev.js
in the following block:
urlAppend : function(url, string) {
if (!Ext.isEmpty(string)) {
return url + (url.indexOf('?') === -1 ? '?' : '&') + string;
}
During debugging, I can see that the value of 'url' in the code block shown above is set to 'true'.
It is clear from this that 'true' does not have the method 'indexOf'. But I am unable to understand why the URL is being set as true. The console errors do not point to any of the JS files created by me. How can I find what I am doing wrong?