Tabs isn't working as expect with SEF url

Tabs isn't working as expect with SEF url

Code example:
  1. $('#invite-tabs').tabs();
  2. $('#invite').click(function(){
  3.     $('#invite-dialog').dialog('open');
  4. });
  5. $('#invite-dialog').dialog({
  6.     autoOpen: false,
  7.     modal: true,
  8.     height: 400,
  9.     width: 600
  10. });
and html-code from example with static content.

When tabs is load and activate the tab the dialog is shown and load an index page. If I comment out $('#invite-tabs').tabs(); when content in dialog is shown w/o index page.



I mean what when page url is
  1. http://localhost/conference/index.php?option=com_conference&view=conference&id=1&Itemid=106
in example when it's work, but with SEF URL like
  1. http://localhost/conference/index.php/конференции?view=conference&id=1
no.

Anyone have any ideas how to fix it and where is the problem?