2011-09-20, 01:45:32
decker Wrote:Sorry mvlcek, I was being foolish, I had not included the www within my Website Base URL in the setting tab. It is all working fine now in Google Chrome.
However when I try to Add images to a gallery in either Firefox or IE the pop imagebrowser.php page does not appear.
Using Error console within Firefox it does not like following line with the changeCycleSize function
Stating that $('#cycle-width').val().trim() is not a functionCode:var show = $('#cycle-width').val().trim() != '' && $('#cycle-height').val().trim() != '';
Anybody know why this is?
Done abit more research and it appears to be the trim() code:
The following should sort the issue
Code:
if(typeof String.prototype.trim !== 'function') {
String.prototype.trim = function() {
return this.replace(/^\s+|\s+$/g, '');
}
}