8000 Dialog: Add option to put the dialog title in a header element by rpkoller · Pull Request #2275 · jquery/jquery-ui · GitHub
[go: up one dir, main page]

Skip to content

Dialog: Add option to put the dialog title in a header element #2275

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

Merged
merged 17 commits into from
Sep 9, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix for the test
  • Loading branch information
rpkoller committed Aug 2, 2024
commit d4aa8a05b5ae105928a854c52e5c63beb8c0e44f
6 changes: 3 additions & 3 deletions tests/unit/dialog/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@
QUnit.test( "ui dialog title tagname", function( assert ) {
assert.expect( 1 );

var element, wrapper;
var element, nodeName;

element = $( "<div>" ).dialog( { modal: true, uiDialogTitleTagName: "<h2>" } );
wrapper = document.querySelector( ".ui-dialog-title" );
assert.equal( wrapper.tagName, "h2", "The dialog title element is h2" );
nodeName = element.dialog( "widget" ).find( ".ui-dialog-title" ).get(0).nodeName.toLowerCase()

Check failure on line 126 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / chrome | jQuery git

There must be a space after this paren

Check failure on line 126 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / chrome | jQuery git

There must be a space before this paren

Check failure on line 126 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / chrome | jQuery git

Missing semicolon

Check failure on line 126 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / chrome | jQuery stable

There must be a space after this paren

Check failure on line 126 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / chrome | jQuery stable

There must be a space before this paren

Check failure on line 126 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / chrome | jQuery stable

Missing semicolon

Check failure on line 126 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / firefox | jQuery git

There must be a space after this paren

Check failure on line 126 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / firefox | jQuery git

There must be a space before this paren

Check failure on line 126 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / firefox | jQuery git

Missing semicolon

Check failure on line 126 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / firefox | jQuery stable

There must be a space after this paren

Check failure on line 126 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / firefox | jQuery stable

There must be a space before this paren

Check failure on line 126 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / firefox | jQuery stable

Missing semicolon
assert.equal (nodeName, "h2", "The dialog title element is h2" );

Check failure on line 127 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / chrome | jQuery git

Unexpected space between function name and paren

Check failure on line 127 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / chrome | jQuery git

There must be a space after this paren

Check failure on line 127 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / chrome | jQuery stable

Unexpected space between function name and paren

Check failure on line 127 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / chrome | jQuery stable

There must be a space after this paren

Check failure on line 127 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / firefox | jQuery git

Unexpected space between function name and paren

Check failure on line 127 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / firefox | jQuery git

There must be a space after this paren

Check failure on line 127 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / firefox | jQuery stable

Unexpected space between function name and paren

Check failure on line 127 in tests/unit/dialog/core.js

View workflow job for this annotation

GitHub Actions / firefox | jQuery stable

There must be a space after this paren
} );

QUnit.test( "widget method", function( assert ) {
Expand Down
Loading
0