I've gotten AJAX to work in Safari by hacking ajax.js. Specifically, replacing this section:
`
this.style_width = getStyle(div, "width");
this.style_height = getStyle(div, "height");
`
with this code:
`
if (this.style_height == '0px') {
this.style_width = '400px';
this.style_height = '26px';
}
`
It's a cheap hack, for sure. And it has display issues, in that saving an album title will move the new title down to the next line. I'm not exactly sure why this happens.
The offending code is actually in the getStyle function of ajax.js:
`
return document.defaultView.getComputedStyle(element, '').getPropertyValue(attribute);
`
Specifically, document.defaultView.getComputedStyle(element, ''), where element is albumTitleEditable after it has been transformed by (i think) div.getInputField.
Comments
My roomate has a mac though, so maybe I can borrow it to really fix the bugs.
I fooled around with it a bit and wasn't able to get the height or width of those altered div's using Javascript.. Maybe there's another way than element.style.[width/offsetWidth/clientWidth]?
I use Safari 2 in 10.4.3 - is that what you've got too?
my site is http://www.wdanielryan.com/photography if you want to check it out.
i tried turning off K2 as well in case there was a conflict there. same issue.