EasyUI comboxbox doesn't load options in Drupal 7 - drupal-7

I have a custom module that hooks the Easyui Javasript framework to Drupal 7, the problem is if I try to expand the easyUI combox that is already loaded with data I get an error:
In chrome: jquery.easyui.min.js?nisjtz:11827 Uncaught TypeError: Cannot read property 'zIndex' of undefined
In Mozilla: TypeError: $.fn.menu.defaults is undefined jquery.easyui.min.js:11827
It also behave the same for EasyUI datebox (datepicker) But the same code works fine when not hooked to drupal, Any Ideas why this is happening?

Related

Trying to incorporate kitchen sink grid sample in Local app in Sencha/Extjs

Trying to incorporate kitchen sink grid sample in Local app in Sencha/Extjs
https://examples.sencha.com/extjs/6.2.0/examples/kitchensink/#array-grid
When I run sencha app watch open chrome tools inspector, I get this error:
Uncaught TypeError: Cannot read property 'isBufferedStore' of undefined
"Uncaught TypeError: Cannot read property 'isBufferedStore' of undefined" means the store in grid is undefined. Maybe you are using a store ID which is not registered as a global store..

mapbox gl codepoint error

I am using mapbox-gl.js in my Angular app. When I turn on HTML5 geolocation API and zoom in to my current location, sometimes I am getting an error
Uncaught TypeError: Cannot read property 'codePoint' of undefined
Can anyone tell me why this is happening?
This isn't an error I've seen before. Can you open an issue on the mapbox-gl-js repository with a demo?

How to debug "Cannot read property 'module' of undefined" in AngularJS?

I get this error running scripts/test.bat via console
Chrome 48.0.2564 (Windows 7 0.0.0) ERROR
Uncaught TypeError: Cannot read property 'module' of undefined
I am under Windows 7 as you can notice and using Angular Seed.
It seems like you've missed loading angular-mock library before listing test files in karma configuration under files:[] section. You need angular-mock library loaded before listing any test files. Beware that angular-mocks library in turn expects angular.js to be loaded before it.
refer: https://docs.angularjs.org/api/ngMock

Sencha ExtJS 5 Draw Package examples not working - TypeError

For some reason, the extjs 5 drawing package (Ext.draw.*) examples are not showing up after clicking the "Live Preview" button. You will get an error. What can be causing this?
http://docs.sencha.com/extjs/5.0/core_concepts/drawing.html
Click on any of the hyperlinks.
Google Chrome Error:
TypeError: object is not a function
Mozilla Firefox Error:
TypeError: c is not a constructor
Internet Explorer 8:
TypeError: Object expected
It's not working because http://docs.sencha.com/extjs/5.0/apidocs/widget/draw.js is causing a 404. You should file a bug in the Sencha forums http://www.sencha.com/forum/forumdisplay.php?130-Ext-5-Bugs
Related issues:
http://www.sencha.com/forum/showthread.php?258845
http://www.sencha.com/forum/showthread.php?285309

Refreshing page on backbone application causes error

I have a backbone application that displays a list of content. The application works fine when navigating through it using the links etc, but I have noticed that when I refresh the browser in chrome i start to see an error saying 'Uncaught TypeError: Cannot read property 'href' of null' This error is occurring on line 969 of backbone.js.
The code that is causing this error is being executed in a loop via a the following code :
this._checkUrlInterval = setInterval(this.checkUrl, this.interval);
Does anyone have any idea what is causing this? I am starting the backbone history using the following code :
Backbone.history.start();
My application is built with backbone, require.js and jquery mobile, however if I remove the jquery mobile dependancy I still see the same error so don't think it has anything to do with jquery mobile.
Any help would be greatly appreciated
Kind Regards
Brian

Resources