Active
Project:
Asset Manager
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2007 at 11:19 UTC
Updated:
21 Sep 2007 at 11:21 UTC
I get errors on data.data.nid, telling me it's not an object, one possible solution is this (am_loader.js)
Env: FF on MacOs X
function amReturn(data, text) {
if (data) {
var d = data['data'];
if (!am_tinymce) {
amUpdateTarget(d.nid, d.title, am['filter']['imagecache']);
}
else {
amUpdateTinyMCE(d.nid, am['filter']['imagecache']);
}
}
return false;
}
Comments
Comment #1
attiks commentedPS: please ignore the am['filter']['imagecache'] part, is from a patch