-
Notifications
You must be signed in to change notification settings - Fork 9
Include reference to section id for conditionals #22
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,7 +26,8 @@ jQuery(function($) { | |
| var $this = $(this); | ||
|
|
||
| // add a tab head link for each tab | ||
| tabsHead.append('<a href="#">' + $this.find('.gsection_title').html() + '</a>'); | ||
| // add the id as well so gf conditional sections still works | ||
| tabsHead.append('<a id="' + $this[0].id + '" href="#">' + $this.find('.gsection_title').html() + '</a>'); | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could we rewrite
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah yes much easier, ill merge that in soon
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So i dont actually know how to merge these changes into my pull request, but your suggestion works - no problems.
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can assist with updating your PR if that'll be helpful for you. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hey guys -- I'm new to GitHub, so apologize if this is a stupid question. It appears you've made some modifications that fixes those of us that have "conditional sections". How do I get the modified code? Is the modified code limited to just js/main.js and it's just a matter of copying the file? What is a pull request? At what point does a new "version" of the plugin become available with the modified code?
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Howdy @recyclingrules, this link should allow you to download the modified code: In the meantime, I'd be happy to assist with landing this one if @gubbigubbi would need some help. I'll probably do that anyway if we don't get any movement soon. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @gubbigubbi you just commit the changes to your branch and they will be added to your PR
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hey @mastef I have commited the changes to my branch. Please feel free to merge :)
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @gubbigubbi did you also push to the remote? I'm not seeing any recent changes here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @gubbigubbi you need to |
||
|
|
||
| // move the corresponding fields to their tab body | ||
| var gformFields = $('<ul class="gform_fields">'); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we'd want to keep the original comment here?