elFinder icon indicating copy to clipboard operation
elFinder copied to clipboard

Getting "TypeError: a.browser is undefined" when using jquery-1.9.0 and jquery-ui-1.9.2

Open grumpydeveloper opened this issue 13 years ago β€’ 15 comments

Hi there, I am trying to implement elfinder with latest version of jquery and jquery ui but I am getting this error "TypeError: a.browser is undefined". Any help would be really appreciated.

Thanks

erro

grumpydeveloper avatar Jan 15 '13 22:01 grumpydeveloper

Hi grumpydeveloper, Thanks for your report. I fixed with a way & send pull request (#470). Another way is give <script> of "jquery-migrate" into HTML <HEAD>.

ex.

<script src="http://code.jquery.com/jquery-1.9.0.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.0.0.js"></script>

ref. https://github.com/jquery/jquery-migrate

nao-pon avatar Jan 16 '13 07:01 nao-pon

Thanks nao-pon,

It works perfectly without any errors or warnings really appreciate that :)

There is another thing I come up with. When I try to resize or rotate any image, resize window looks bit awkward here is the screen shot -

erro

When I click those radio button's I cannot see preview of the image I can only see the white background. Any help would be really appreciated.

Thanks

grumpydeveloper avatar Jan 17 '13 02:01 grumpydeveloper

When I click those radio button's I cannot see preview of the image I can only see the white background.

This problem already fixed on 2.x branch. Please try nightly build. You can get it from next link, nao-pon/elFinder-nightly. Good luck!

nao-pon avatar Jan 17 '13 07:01 nao-pon

I am already usin nightly build elfinder-2.x_n-bd66a81.zip I don't see any error's in my console. Is it css issue ?

Thanks

grumpydeveloper avatar Jan 17 '13 21:01 grumpydeveloper

I checked 2.x_n-bd66a81 with jQuery 1.9.0 & UI 1.9.2. It seems no problem. (checked Firefox, Chrome, Opera & IE8) May be it's problem by browser cache. Please try browser cache clearing.

nao-pon avatar Jan 18 '13 01:01 nao-pon

I found issue. In my document I included twitter_bootstrap.js after jQuery UI then included it before jQuery UI and it works perfect. Thanks for your help and for great plugin :)

grumpydeveloper avatar Jan 18 '13 23:01 grumpydeveloper

:+1:

nao-pon avatar Jan 19 '13 03:01 nao-pon

There is still a problem with error "TypeError: a.browser is undefined" though I added .

Any suggesstions ?

shyamkkhadka avatar Jul 15 '13 12:07 shyamkkhadka

+1

webspin avatar Jul 24 '13 15:07 webspin

Thanx. nao-pon :+1:

BirkanAydin avatar Dec 04 '13 07:12 BirkanAydin

@nao-pon 1

VoinG avatar Mar 29 '14 19:03 VoinG

hello I need to know an example about what have to put in Driver,Path and URL please help me

        'driver'        => 'LocalFileSystem',   // driver for accessing file system (REQUIRED)
        'path'          => '../css',         // path to files (REQUIRED)
        'URL'           => dirname($_SERVER['PHP_SELF']) . '/../files/', // URL to files (REQUIRED)
        'accessControl' => 'access'             // disable and hide dot starting files (OPTIONAL)

// run elFinder $connector = new elFinderConnector(new elFinder($opts)); $connector->run();

memo1970 avatar Oct 29 '14 01:10 memo1970

NAVER - http://www.naver.com/

[email protected] λ‹˜κ»˜ 보내신 메일 <Re: [elFinder] Getting "TypeError: a.browser is undefined" when using jquery-1.9.0 and jquery-ui-1.9.2 (#469)> 이 λ‹€μŒκ³Ό 같은 이유둜 전솑 μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€.


λ°›λŠ” μ‚¬λžŒμ΄ νšŒμ›λ‹˜μ˜ 메일을 μˆ˜μ‹ μ°¨λ‹¨ ν•˜μ˜€μŠ΅λ‹ˆλ‹€.


lovesia avatar Oct 29 '14 01:10 lovesia

Thank you nao-pon

It's working for me also :)

ashvinim0003 avatar Jan 20 '16 09:01 ashvinim0003

NAVER - http://www.naver.com/

[email protected] λ‹˜κ»˜ 보내신 메일 <Re: [elFinder] Getting "TypeError: a.browser is undefined" when using jquery-1.9.0 and jquery-ui-1.9.2 (#469)> 이 λ‹€μŒκ³Ό 같은 이유둜 전솑 μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€.


λ°›λŠ” μ‚¬λžŒμ΄ νšŒμ›λ‹˜μ˜ 메일을 μˆ˜μ‹ μ°¨λ‹¨ ν•˜μ˜€μŠ΅λ‹ˆλ‹€.


lovesia avatar Jan 20 '16 09:01 lovesia