Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Browser not automatically loading after version 2.9.4 #118

Open
niranOFI opened this issue May 17, 2023 · 1 comment
Open

File Browser not automatically loading after version 2.9.4 #118

niranOFI opened this issue May 17, 2023 · 1 comment

Comments

@niranOFI
Copy link

niranOFI commented May 17, 2023

Describe the bug
In version 2.94 and lower the file browser would automatically navigate to the folder are in upon clicking upload.
However once we upgraded to version 2.9.36 this no longer happens and the file browser simple opens up in the root directory.
The way it was working is that JCE would get the path from the cookie

$inputCookie->set($name = 'wf_browser_dir', $value = 'cospas_sarsat/pdf_uploads/'.$this->item->id, $expire = 0);
Although the cookie still loads up in the browser, it seems that JCE 2.9.36 does nothing with that and simply opens up without navigating to the given path.

Expected behavior
When clicking " Upload" the File manager should open up and navigate automatically to the folder we are in using the path from the cookie.

Screenshots
Expected result
image

The result after updated JCE 2.9.36
image

How might I go about fixing this issue, I'm not getting any errors in the console log.

@ryandemmer
Copy link
Contributor

Fixed in commit - b0b1f47

Fix will be included in the next update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants