quick search: exchange accounts search fix
This commit is contained in:
parent
2942a7eab6
commit
65026b745d
4 changed files with 28 additions and 15 deletions
|
@ -50,7 +50,7 @@
|
|||
$ImgBtn.attr('disabled', 'disabled');
|
||||
}
|
||||
});
|
||||
if (document.referrer.search("pid=Login") > 0) {
|
||||
if (document.referrer.search("pid=Login") > 0 || window.location.href.search("pid=SearchObject") > 0) {
|
||||
$("#<%= tbSearch.ClientID %>").focus();
|
||||
}
|
||||
|
||||
|
|
|
@ -48,7 +48,6 @@ namespace WebsitePanel.Portal.SkinControls
|
|||
const string TYPE_DOMAIN = "Domain";
|
||||
const string TYPE_ORGANIZATION = "Organization";
|
||||
const string TYPE_EXCHANGEACCOUNT = "ExchangeAccount";
|
||||
const string TYPE_EXCHANGEACCOUNT_MAILBOX = "ExchangeAccountMailbox";
|
||||
const string PID_SPACE_WEBSITES = "SpaceWebSites";
|
||||
const string PID_SPACE_DIMAINS = "SpaceDomains";
|
||||
const string PID_SPACE_EXCHANGESERVER = "SpaceExchangeServer";
|
||||
|
@ -151,12 +150,6 @@ namespace WebsitePanel.Portal.SkinControls
|
|||
"moduleDefId=ExchangeServer");
|
||||
break;
|
||||
case TYPE_EXCHANGEACCOUNT:
|
||||
res = PortalUtils.NavigatePageURL(PID_SPACE_EXCHANGESERVER, "ItemID", itemId.ToString(),
|
||||
PortalUtils.SPACE_ID_PARAM + "=" + spaceId, "ctl=edit_user",//"mid="+this.ModuleID.ToString(),
|
||||
"AccountID="+this.tbAccountId.Text,"Context=User",
|
||||
"moduleDefId=ExchangeServer");
|
||||
break;
|
||||
case TYPE_EXCHANGEACCOUNT_MAILBOX:
|
||||
res = PortalUtils.NavigatePageURL(PID_SPACE_EXCHANGESERVER, "ItemID", itemId.ToString(),
|
||||
PortalUtils.SPACE_ID_PARAM + "=" + spaceId, "ctl=edit_user",//"mid="+this.ModuleID.ToString(),
|
||||
"AccountID=" + this.tbAccountId.Text, "Context=Mailbox",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue