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

Fix #7316 Alias Edit keep pattern, placeholder, title in sync #3583

Merged
merged 1 commit into from
Mar 15, 2017
Merged

Fix #7316 Alias Edit keep pattern, placeholder, title in sync #3583

merged 1 commit into from
Mar 15, 2017

Conversation

phil-davis
Copy link
Contributor

  1. Add some new rows to what is already displayed, then change the alias type between a host and port type. The pattern for the extra rows is not changed. That is because $counter is a fixed number generated when the page is built with PHP - so the JS only manipulates the first $counter rows initially displayed.
    The .each() code fixes this. Note that the special matching is needed, because there are other elements that start with 'address' - e.g. 'address_subnet'

  2. Make the title attribute ("hover text") and placeholder attribute also change their text value as the alias type is changed. This is the problem reported in the Redmine issue.

@phil-davis
Copy link
Contributor Author

@sbeaver-netgate @rbgarga @jim-p another little fix that is labeled tested and could easily be merged.

@netgate-git-updates netgate-git-updates merged commit 57dd76d into pfsense:master Mar 15, 2017
@phil-davis phil-davis deleted the alias-hover-text branch March 15, 2017 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants