UI > wiki > Task (done?)

ajax editing fails for Safari / #4113

Summary

done?
Feb 19, 2007
100%
Feb 20, 2007 / pixtur
May 16, 2007 / pixtur
 

Attached files

No files uploaded
With the current version of jeditable and Safari the edit form is been created but not initialized.


1 Comment

pixtur

May 16, 2007
version 2
Fixed in next version...
replaced...

from misc.js

    if(dom_element.attributes['item_id']) {
        item_id= dom_element.attributes['item_id'].value;
    }

with...

from misc.js

    if($(dom_element).attr('item_id')) {
        item_id= $(dom_element).attr('item_id');
    }
    else {
        alert("Warning: no item id for ajax editing!");
        return;
    }

I have no idea why the querying for custom DOM attributes fails with the first version, though.

 

Comment / Update