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 .
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)
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});
}
tanks a lot
Labels |
Added:
?
|
Category | ⇒ | JavaScript |
Status | New | ⇒ | Information Required |
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
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-07-05 12:44:21 |
Closed_By | ⇒ | pablopalillo |
Hello,
Is this in the front or backend of Joomla?!
Did you clear your browser cache?
Did you try on Joomla! 3.6?