Skip to content
This repository has been archived by the owner on Dec 23, 2017. It is now read-only.

Handle miscellaneous F3* forms. #885

Merged
merged 1 commit into from
Oct 22, 2015

Conversation

jmcarp
Copy link
Contributor

@jmcarp jmcarp commented Oct 22, 2015

Only show detail panel trigger when form type is one of "F3", "F3P", and
"F3X". Fixes extraneous triggers on less common forms like "F3L".

h/t @noahmanger

Only show detail panel trigger when form type is one of "F3", "F3P", and
"F3X". Fixes extraneous triggers on less common forms like "F3L".

h/t @noahmanger
@@ -72,7 +72,7 @@ var filings = {
width: '20px',
orderable: false,
render: function(data, type, row, meta) {
return row.form_type && row.form_type.match(/^F3/) ?
return row.form_type && ['F3', 'F3P', 'F3X'].indexOf(row.form_type) !== -1 ?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identifier 'form_type' is not in camel case.

noahmanger pushed a commit that referenced this pull request Oct 22, 2015
@noahmanger noahmanger merged commit 5a5e569 into fecgov:develop Oct 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants