fixed bug when creating mapped drive
This commit is contained in:
parent
916189aa5e
commit
5f412a78d3
3 changed files with 15 additions and 2 deletions
|
@ -31,6 +31,7 @@
|
|||
<td>
|
||||
<div class="Folders" style="display:inline;">
|
||||
<asp:DropDownList ID="ddlFolders" runat="server" CssClass="NormalTextBox" Width="150px" style="vertical-align: middle;" />
|
||||
<asp:HiddenField id="txtFolderName" runat="server"/>
|
||||
</div>
|
||||
<div class="Url" style="display:inline;">
|
||||
<asp:Literal ID="lbFolderUrl" runat="server"></asp:Literal>
|
||||
|
@ -42,6 +43,7 @@
|
|||
<td>
|
||||
<div class="LabelAs">
|
||||
<asp:TextBox ID="txtLabelAs" runat="server" CssClass="NormalTextBox" Width="145px"></asp:TextBox>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -69,6 +71,7 @@
|
|||
$('.Folders select').bind('change', function () {
|
||||
$('.LabelAs input').val($('.Folders select option:selected').text());
|
||||
$('.Url').text($('.Folders select option:selected').val());
|
||||
$('.Folders input').val($('.Folders select option:selected').text());
|
||||
});
|
||||
});
|
||||
</script>
|
|
@ -63,6 +63,7 @@ namespace WebsitePanel.Portal.ExchangeServer
|
|||
{
|
||||
txtLabelAs.Text = ddlFolders.SelectedItem.Text;
|
||||
lbFolderUrl.Text = ddlFolders.SelectedItem.Value;
|
||||
txtFolderName.Value = ddlFolders.SelectedItem.Text;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -102,7 +103,7 @@ namespace WebsitePanel.Portal.ExchangeServer
|
|||
PanelRequest.ItemID,
|
||||
ddlLetters.SelectedItem.Value,
|
||||
txtLabelAs.Text,
|
||||
ddlFolders.SelectedItem.Text);
|
||||
txtFolderName.Value);
|
||||
|
||||
if (!result.IsSuccess && result.ErrorCodes.Count > 0)
|
||||
{
|
||||
|
|
|
@ -84,6 +84,15 @@ namespace WebsitePanel.Portal.ExchangeServer {
|
|||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlFolders;
|
||||
|
||||
/// <summary>
|
||||
/// txtFolderName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField txtFolderName;
|
||||
|
||||
/// <summary>
|
||||
/// lbFolderUrl control.
|
||||
/// </summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue