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

Match column heights when inputfield heights change #1377

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions wire/modules/Inputfield/InputfieldFile/InputfieldFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ $(document).ready(function() {
if($t.is(":checked")) {
// not an error, but we want to highlight it in the same manner
$t.parents(".InputfieldFileInfo").addClass("ui-state-error")
.siblings(".InputfieldFileData").slideUp("fast");
.siblings(".InputfieldFileData").slideUp("fast", InputfieldColumnWidths);

} else {
$t.parents(".InputfieldFileInfo").removeClass("ui-state-error")
.siblings(".InputfieldFileData").slideDown("fast");
.siblings(".InputfieldFileData").slideDown("fast", InputfieldColumnWidths);
}
}

Expand Down
1 change: 1 addition & 0 deletions wire/modules/Inputfield/InputfieldImage/InputfieldImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ $(document).ready(function() {
unsetGridMode($parent);
setGridMode($parent);
}
InputfieldColumnWidths();
});

});