Typo causing a bug in IE8 when removing an element from a n:n linkset.

SVN:trunk[2538]
This commit is contained in:
Denis Flaven
2012-12-06 10:55:23 +00:00
parent 156993a517
commit 7c13a6286e

View File

@@ -41,7 +41,7 @@ function LinksWidget(id, sClass, sAttCode, iInputId, sSuffix, bDuplicates, oWizH
// Re-run the zebra plugin to properly highlight the remaining lines & and take into account the removed ones
$('#linkedset_'+this.id+' .listResults').trigger('update').trigger("applyWidgets");
if ($('$linkedset_'+this.id+' .selection').length == 0)
if ($('#linkedset_'+this.id+' .selection').length == 0)
{
// All items were removed: add a dummy hidden input to make sure that the linkset will be updated (emptied) when posted
$('#'+me.id+'_empty_row').show();