Detecting Safari breaks on jQuery 1.9+ and $.browser has been removed as well as being depreciated since jQuery 1.3. This should be changed.

Starting at line 88 in compact_forms.js:

if ($.browser.safari) {
setTimeout(Drupal.compactForms.fixSafari, 200);
}

Change to:

if (navigator.userAgent.indexOf("Safari") > -1) {
setTimeout(Drupal.compactForms.fixSafari, 200);
}

Comments

hoporr’s picture

This is a serious issue, as it breaks JS completely.

The above fix worked for me, in that it restored correct JS execution.
However I don't have a way to check if this works on a safari browser.

mkindred’s picture

agenciaq1’s picture

HI,

That works to me.
Thank you for your support.

Flavio