Needs work
Project:
NG Lightbox
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
3 Dec 2015 at 00:44 UTC
Updated:
19 Feb 2019 at 19:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
benjy commentedCould you achieve this by redirecting to the same page?
Also, can you please upload your patches with the .patch file extension, that way they get picked up by the testbot.
Comment #3
benjy commentedComment #4
watda commentedComment #5
watda commentedHi benjy,
Tried redirection but can't seem to make it work in my case.
Already uploaded a new file in .patch extension.
thanks.
Comment #6
benjy commentedComment #8
m_dimitris commentedCan I ask smth? The ng_lightbox.module has only 228 lines. Should I add the ng_lightbox_validate(&$form, &$form_state) function?
Comment #9
benjy commented@m_dimistris, sorry I don't know what you mean? I don't think it's relevant to this issue, can you open a new issue.
Comment #10
m_dimitris commentedSorry benjy,
I meant that in the ng_lightbox.module there is no function ng_lightbox_validate(&$form, &$form_state) as stated in the patch_noredirection.patch so that I can change it in order not to make the redirection. Should I add it? Or if I want to make ajax call?
Comment #11
benjy commentedAhh, i see what you mean. That function comes from #2501919: Enable AJAX validation which is another issue. We could work on getting that committed first and then come back here or they @watda, you can submit a patch here that contains both just for testing.
However, I would like to debug why passing the current page to the redirect param doesn't work, feels like it could be masking another issue.
Comment #12
watda commentedHi benjy,
Sorry, my bad, this patch needs that one you just mentioned, #2501919: Enable AJAX validation,
Should i submit it there or is it alright to do it here?
cheers,
LiNo
Comment #13
benjy commentedYou can submit a combination of the two patches here, i'll probably commit the other one shortly.
Comment #14
watda commentedComment #15
shaneonabike commentedYour patch doesn't seem to work and indicates at the end it is corrupted :/