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

Article + Galleryview -> EL Undefined #12

Open
vasiljevski opened this issue Sep 30, 2015 · 1 comment
Open

Article + Galleryview -> EL Undefined #12

vasiljevski opened this issue Sep 30, 2015 · 1 comment
Labels

Comments

@vasiljevski
Copy link
Owner

Did try this in an article view

{AG rootFolder="/images/sampledata/" thumbWidth="200" thumbHeight="120" newImageTag="1" newImageTag_days="7" paginUse="1" paginImagesPerGallery="10" albumUse="1" backgroundColor="#ffffff" foregroundColor="#808080" highliteColor="#fea804" frame_width="500" frame_height="300" showSignature="1" plainTextCaptions="1" ignoreError="1" ignoreAllError="0" thumbAutoSize="width" template="galleryView" popupEngine="slimbox" arrange="priority"}parks{/AG}

did notice in Firefox that there is an undefined "el" and it points to line 325 of jquery.galleryview.2.1.1.js
It's repeating that function a lot of times due to that error so definately something that should change!

@vasiljevski
Copy link
Owner Author

it's pointing to this code,
Code:
var left = 0, top = 0;
var el_id = el.id;

but shouldn't it be something like
Code:
function getPos(el) {
var left = 0;
var top = 0;
var el_id = el.id;

think the "top" should be defined seperatly but can be wrong.

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

No branches or pull requests

1 participant