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.7 migrate issue modal SqueezeBox #16436

Closed
pablopalillo opened this issue Jun 1, 2017 · 2 comments
Closed

3.7 migrate issue modal SqueezeBox #16436

pablopalillo opened this issue Jun 1, 2017 · 2 comments

Comments

@pablopalillo
Copy link

pablopalillo commented Jun 1, 2017

Steps to reproduce the issue

modal worked in 3.4 version of joomla.
In 3.7 version , the modal SqueezeBox works fine in the first try but in the second try appears black screen without content .

Actual result

In google chrome show this error.

modal.js?650a663…:7 Uncaught TypeError: Cannot read property 'removeEvent' of undefined
    at Object.toggleListeners (modal.js?650a663…:7)
    at Object.close (modal.js?650a663…:7)
    at HTMLAnchorElement.m (mootools-core.js?650a663…:119)

System information (as much as possible)

joomla 3.7
php 7.1

creation modal code

	function callsqueeze(name, big) {


      	var pxX = 600;
		var pxY = 300;
		if (typeof(big) == "undefined") {
			big = false;
		}
		if (big) {
			var pxX = 800;
		}
		if (typeof(name) == "undefined") {
			name = 'posContent';
		}
		var hiddiv = jQuery('#' + name);

		hiddiv.show();
		SqueezeBox.setContent('clone', hiddiv);
		hiddiv.hide();
		SqueezeBox.resize({x: pxX, y: pxY});

	}

Additional comments

tanks a lot

@tonypartridge
Copy link
Contributor

Hello,

Is this in the front or backend of Joomla?!

Did you clear your browser cache?

Did you try on Joomla! 3.6?

@pablopalillo
Copy link
Author

pablopalillo commented Jul 5, 2017

Hello,
The problem is with a old library for tables sorttables https://github.com/stuartlangridge/sorttable this present a incompatibility with mootools in the joomla version 3.7.

the problem can be solved implementing this pull request in this library.
stuartlangridge/sorttable#19

Thank you so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants