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

[3.10] Joomla.popWindow is no longer going to be removed in J4 #27117

Merged
merged 1 commit into from
Nov 25, 2019
Merged
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: 1 addition & 3 deletions media/system/js/core-uncompressed.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,11 +487,9 @@ Joomla.editors.instances = Joomla.editors.instances || {
*
* Pops up a new window in the middle of the screen
*
* @deprecated 4.0 No replacement
* @note This will be moved out of core.js into a new file toolbar.js in Joomla 4
*/
Joomla.popupWindow = function( mypage, myname, w, h, scroll ) {
console.warn('Joomla.popupWindow() is deprecated without a replacement!');

var winl = ( screen.width - w ) / 2,
wint = ( screen.height - h ) / 2,
winprops = 'height=' + h +
Expand Down
2 changes: 1 addition & 1 deletion media/system/js/core.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.