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

Finalizing the pagination: a few bug fixes and some cleanup...

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

+ 4 - 0
js/linkswidget.js

@@ -161,6 +161,10 @@ function LinksWidget(id, sClass, sAttCode, iInputId, sSuffix, bDuplicates)
 				theMap[this.name].push(this.value);
 				$(this).remove(); // Remove the selection for the next time the dialog re-opens
 			});
+			// Retrieve the 'filter' definition
+			var table = $('#ResultsToAdd_member_list').find('table.listResults')[0];
+			theMap['filter'] = table.config.filter;
+			theMap['extra_params'] = table.config.extra_params;
 		}
 //		else
 //		{