Skip to content

NIFI-3291: Continue addressing issues from jQuery upgrade#1438

Closed
mcgilman wants to merge 2 commits intoapache:masterfrom
mcgilman:NIFI-3291
Closed

NIFI-3291: Continue addressing issues from jQuery upgrade#1438
mcgilman wants to merge 2 commits intoapache:masterfrom
mcgilman:NIFI-3291

Conversation

@mcgilman
Copy link
Contributor

NIFI-3291:

  • Fixing overflow calculation to determine if scrollbars are necessary.
  • Fixing styles with jquery ui slider usage.

- Fixing overflow calculation to determine if scrollbars are necessary.
- Fixing styles with jquery ui slider usage.
@scottyaslan
Copy link
Contributor

Reviewing....

// adjust the field width for a potential scrollbar
var searchFieldContainer = $('#searchable-fields-container');
if (searchFieldContainer.get(0).scrollHeight > searchFieldContainer.innerHeight()) {
if (searchFieldContainer.get(0).scrollHeight > Math.round(searchFieldContainer.innerHeight())) {
Copy link
Contributor

Choose a reason for hiding this comment

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

@mcgilman I think this whole block of code is dead. The widths of the inputs for the "Search Events" dialog of the "Data Provenance" shell's $('#searchable-fields-container') are defined by CSS (in provenance.css line #141) and the widths being applied with this code are causing those inputs not to fill their available space.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, agreed. Will update.

- Removing dead code.
@asfgit asfgit closed this in f8f66fa Jan 27, 2017
@scottyaslan
Copy link
Contributor

Thanks @mcgilman this has been merged to master.

nickcarenza pushed a commit to nickcarenza/nifi that referenced this pull request Mar 3, 2017
- Removing dead code.

This closes apache#1438
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

Successfully merging this pull request may close these issues.

2 participants