#10918 closed bug (notabug)
Dialog position has different default behaviour from Version 1.10.4
Reported by: | vergules | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.dialog | Version: | 1.11.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$('#dlgTest').dialog({
modal: false, height: 200, width: 400, position: null
});
will place dialog at the top of window. Prior version would have it at default Center of window position. Passin undeifned instead of null works as prior version and puts dialog at center This change of behaviour started at version 1.11.x.
Change History (3)
comment:1 Changed 8 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
comment:2 follow-up: 3 Changed 8 years ago by
Version 1.10.0 accepted null or undefined - the default position in this case is center of window. Version 1.11.x defaults to center only if undefined is used, this is a change that I was not aware of.
comment:3 Changed 8 years ago by
Replying to vergules:
Version 1.10.0 accepted null or undefined - the default position in this case is center of window.
No it didn't. The fact that it happened to work doesn't matter. Please read the docs for acceptable values.
null
is not a valid value in either version.