@burghard - if what he wants to do is open a Fabrik modal, like (say) clicking on an edit link in an AJAX-ified list, it's not as simple as that, you have to call Fabrik.getWindow() with a set of options ... I think the minimal set of options would be ...
Code:
Fabrik.getWindow({
id: 'some-unique-id',
contentUrl: 'index.php?option=com_fabrik&view=form&formid=123&rowid=321&tmpl=component&ajax=1&format=partial',
loadMethod: 'xhr',
title: 'some title'
});
NOTE the '&tmpl=component&ajax=1&format=partial' on the end of the normal Fabrik form link. Those are required in order to get the correct response content for a modal popup.
And of course you'd need to get the rowid you need to load from somewhere on your form, but you don't provide enough info for us to help with that.
There's a lot of other options you can specify, the most useful is probably ...
Code:
onContentLoaded: function() {
this.fitToContent();
}
-- hugh