andrerpena / chatjs

Platform-independent jQuery plugin for chatting
MIT License
184 stars 91 forks source link

Uncaught TypeError : jquery.chatjs.controller.ts:98 #26

Open manjuarun opened 8 years ago

manjuarun commented 8 years ago

Hi,

Could you help me to resolve this issue

jquery.chatjs.controller.ts:98Uncaught TypeError: Cannot read property 'isMaximized' of undefined.

Because of this issue, could not explore further to see rest of the application and how it works.

Appreciate your support on this.

capture1

Thanks, Manju

rpaschoal commented 8 years ago

Hi,

Could you also post the steps to reproduce this error? Did you make any changes to the code itself? I never saw this happening before when I was using this plugin.

Cheers.

manjuarun commented 8 years ago

Hi, I downloaded this file and extracted and then ran without changing anything. image

In chrome, its showing nothing. But in the developer window error was like this. But in IE, exception got caught in the html page, which says isMaximized property is null.

Thanks, Manju

rpaschoal commented 8 years ago

Could you try cloning the project from GitHub instead?

Not sure how well updated the website is.

Cheers.

MrGorki commented 8 years ago

Having same issue even after installing version 2.20 through Nuget

vkelman commented 7 years ago

Guys, I think I know what the issue is! Application doesn't run correctly in a sub-folder, but runs at a web-server root level.

I got code from GitHub, didn't make any changes. On my Win7 workstation under IIS I added virtual directory pointing to ChatJs. So, URL is http://localhost/chatjs/

And yes - running it as at root level using live-server fixes errors. Chat is working in all three browsers and sound works as well. Not sure how Chrome managed to get it partially working in a sub-folder. But relative paths should be fixed allowing to work in a sub-folder.