Fix selectboxes in Firefox, they did not drop down

This commit is contained in:
Nathan Gray 2015-01-12 18:12:45 +00:00
parent b38168a334
commit 31b3987f2d

View File

@ -432,6 +432,10 @@ app.classes.home = AppJS.extend(
}); });
// Rescue selectboxes from Firefox
$portlet_container.on('mousedown touchstart', 'select', function(e) {
e.stopPropagation();
});
// Bind window resize to re-layout gridster // Bind window resize to re-layout gridster
$j(window).one("resize."+this.et2._inst.uniqueId, function() { $j(window).one("resize."+this.et2._inst.uniqueId, function() {
// Note this doesn't change the positions, just makes them invalid // Note this doesn't change the positions, just makes them invalid