This commit is contained in:
Virtuworks 2015-05-20 06:48:43 -04:00
commit af459477c5
8 changed files with 184 additions and 13 deletions

View file

@ -118,7 +118,6 @@ namespace WebsitePanel.WebPortal
String.Format("%{0}%", filterValue), 0, 0, "", iNumResults, columnType, fullType);
DataTable dt = dsObjectItems.Tables[2];
List<Dictionary<string, string>> dataList = new List<Dictionary<string, string>>();
int currUser = 0;
for (int i = 0; i < dt.Rows.Count; ++i)
{
DataRow row = dt.Rows[i];
@ -131,10 +130,7 @@ namespace WebsitePanel.WebPortal
obj["FullType"] = type;
obj["FullTypeLocalized"] = GetTypeDisplayName(type);
obj["AccountID"] = row["AccountID"].ToString();
if (String.Equals(type, "Users"))
dataList.Insert(currUser++, obj);
else
dataList.Add(obj);
dataList.Add(obj);
}
var jsonSerialiser = new JavaScriptSerializer();

View file

@ -50,6 +50,10 @@
$ImgBtn.attr('disabled', 'disabled');
}
});
if (document.referrer.search("pid=Login") > 0) {
$("#<%= tbSearch.ClientID %>").focus();
}
});//]]>
</script>