Преглед изворни кода

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

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2538 a333f486-631f-4898-b8df-5754b55c2be0
dflaven пре 12 година
родитељ
комит
182f2863e5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      js/linkswidget.js

+ 1 - 1
js/linkswidget.js

@@ -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();