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

Prevent 'null' from displaying in the 'Found similar people' table. #203

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

wikumChamith
Copy link
Member

No description provided.

@@ -475,9 +475,7 @@ dojo.widget.defineWidget(


noCell: function() {
var td = document.createElement("td");
Copy link
Member

Choose a reason for hiding this comment

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

Did you intentionally remove this?

Copy link
Member Author

@wikumChamith wikumChamith Oct 2, 2024

Choose a reason for hiding this comment

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

Yes. If we keep the display value of the element "none" we get a table similar to this.

Screenshot from 2024-10-02 19-49-16

Copy link
Member

Choose a reason for hiding this comment

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

You mean it has been like that and no body has ever seen it? Or was it caused by something else?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think so. That's how HTML works.

    <table border="1">
        <tbody>
        <tr>
            <td>Hello</td>
            <td>World</td>
            <td>Hello</td>
        </tr>
        <tr>
            <td>Hello</td>
            <td style="display: none"></td>
            <td>Hello</td>
        </tr>
        </tbody>
    </table>

For example this HTML code outputs this:

Screenshot from 2024-10-02 20-23-08

@dkayiwa dkayiwa merged commit 528e938 into openmrs:master Oct 2, 2024
1 check passed
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