You can clone with
HTTPS or Subversion.
A while ago, we came across this issue:
If you click on browse button (e.g. when uploading an image or editing a link), on a custom content type, you get the current view in the popup, instead of the content browser.
The problem is in kotti_tinymce.js, which doesn't construct the url properly, it only works for the default Document type:
kotti_url = window.location.toString();
kotti_url = kotti_url.replace(/@@edit/, "@@kottibrowser");
kotti_url = kotti_url.replace(/add_document/, "@@kottibrowser");
So in our case instead of getting something like:
which of course opens up the same view in a popup.
@ferewuz came up with a possible fix (he is not home right now so he can't issue a pull request). Comments on the topic are appreciated (is this the right way to go around fixing it?).
I'd say if it works, it works. Maybe some testing to make sure it opens the browser in the right folder even if you're inside a subfolder.
This issue is in some way related to Kotti/Kotti#219.
Or am I missing something particular wrt this specific issue?
No you're not. for adding a context_url.
from me too, looks like a better solution that helps in other places too.
Implemented / fixed in 9ab024f and Kotti/Kotti@6bb5ab1 / Kotti/Kotti@22fccf1