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

Testing on Elgg 2 - Activating gives AJAX error as described below #5

Closed
ghost opened this issue Jul 4, 2016 · 3 comments
Closed

Comments

@ghost
Copy link

ghost commented Jul 4, 2016

So, I'm learning Elgg and...
When activating current version 1.1.1 on Elgg 2.1.1 the info window of all plugins (lightbox) can't be opened anymore with error: "You can not access Ajax views directly. I didn't go on further check as this seems pretty bad."

https://github.com/beck24/granular_access/blob/master/views/default/js/granular_access.php#L6

I think it could dependo on the fact that the .live() function has been removed from jQuery's version user in Elgg 2

@beck24
Copy link
Owner

beck24 commented Jul 8, 2016

I can't replicate this specific issue, and .live() isn't part of this plugin at all

@beck24 beck24 closed this as completed Jul 8, 2016
@juho-jaakkola
Copy link
Contributor

I fixed this as I converted javascript to AMD: f1eacc3#diff-c4093be5dc7dba230b84dd20bec90ba0L6

@ghost
Copy link
Author

ghost commented Jul 12, 2016

Such a bad student, am not I? :D

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