mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
- Fix the style of the loaded table
SVN:code[130]
This commit is contained in:
@@ -30,7 +30,13 @@ function LinksWidget(id, sLinkedClass, sExtKeyToMe, sExtKeyToRemote, aAttributes
|
|||||||
sLinks = JSON.stringify(this.aLinks);
|
sLinks = JSON.stringify(this.aLinks);
|
||||||
$('#'+this.id).val(sLinks);
|
$('#'+this.id).val(sLinks);
|
||||||
$('#'+this.id+'_values').load('ajax.render.php?operation=ui.linkswidget.linkedset&sclass='+this.sLinkedClass+'&sextkeytome='+this.sExtKeyToMe+'&sextkeytoremote='+this.sExtKeyToRemote+'&myid='+this.id,
|
$('#'+this.id+'_values').load('ajax.render.php?operation=ui.linkswidget.linkedset&sclass='+this.sLinkedClass+'&sextkeytome='+this.sExtKeyToMe+'&sextkeytoremote='+this.sExtKeyToRemote+'&myid='+this.id,
|
||||||
{'sset' : sLinks});
|
{'sset' : sLinks}, function()
|
||||||
|
{
|
||||||
|
// Refresh the style of the loaded table
|
||||||
|
$('#'+this.id+' table.listResults').tableHover();
|
||||||
|
$('#'+this.id+' .listResults').tablesorter( { headers: { 0:{sorter: false }}, widgets: ['zebra']} ); // sortable and zebra tables
|
||||||
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user