I beg to differ... using colorbox-module 7.x-1.0-beta2 and OM base theme 7.x-1.9, colorbox works splendidly after disabling 'om.js' in 'om.info'.
I will make an upgrade to 7.1.12 and see if the error persists.
/**
* Disabled this functionality due to colorbox compatibility problem
* for external links to open in new window
$('a[href^=http]').click( function() {
window.open(this.href);
return false;
});
*
*/
This is found inside om.js, just disable this code block by deleting or replacing it with this one
which is inside a comment.
Already committed this on dev and will be available in 12hours at least.
Comments
Comment #1
danielhonrade commentedHi drupallerina,
I tried a different theme, seems colorbox is not working still, also tried to disable the om.js, still not working.
Comment #2
discipolo commentedI beg to differ... using colorbox-module 7.x-1.0-beta2 and OM base theme 7.x-1.9, colorbox works splendidly after disabling 'om.js' in 'om.info'.
I will make an upgrade to 7.1.12 and see if the error persists.
You can see the working colorbox module here: http://stahlundform.devel.rosenstrauch.com/content/balkonkonstruktion
Comment #3
danielhonrade commentedOk, got it...
just do this instead:
This is found inside om.js, just disable this code block by deleting or replacing it with this one
which is inside a comment.
Already committed this on dev and will be available in 12hours at least.
thanks,
daniel
Comment #4
discipolo commentedcan confirm that this behaiviour persists in this version.
removing the
//for external links, open in new window
$('a[href^=http]').click( function() {
window.open(this.href);
return false;
});
from om.js solves the problem
Comment #5
danielhonrade commentedI am thinking of making all js as optional in theme settings... or create a module for functionalities of om
Comment #6
danielhonrade commented