Web app Gallery: 'ignore dependency fail' checkbox removed, warning message updated
This commit is contained in:
parent
aa3a358e46
commit
934a5a9107
3 changed files with 10 additions and 4 deletions
|
@ -16,7 +16,8 @@
|
|||
<asp:CheckBox ID="chIgnoreDependencies" runat="server"
|
||||
Text="Ignore dependency fail and install selected product anyway." Visible="false" AutoPostBack="True"
|
||||
oncheckedchanged="chIgnoreDependencies_CheckedChanged" />
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="FormFooter">
|
||||
<asp:Button ID="btnInstall" runat="server" meta:resourcekey="btnInstall" Text="Install" CssClass="Button1" OnClick="btnInstall_Click" OnClientClick="ShowProgressDialog('Installing application...');"/>
|
||||
|
|
|
@ -64,9 +64,14 @@ namespace WebsitePanel.Portal
|
|||
if (appResult.ErrorCodes.Count > 0)
|
||||
{
|
||||
// app does not meet requirements
|
||||
if (appResult.ErrorCodes.Count > 1)
|
||||
{
|
||||
// remove "- Your hosting package does not meet..." message
|
||||
appResult.ErrorCodes.RemoveAt(0);
|
||||
}
|
||||
messageBox.ShowMessage(appResult, "WAG_CANNOT_INSTALL_APPLICATION", "WebAppGallery");
|
||||
chIgnoreDependencies.Visible = true;
|
||||
btnInstall.Enabled = false;
|
||||
chIgnoreDependencies.Visible = false;
|
||||
btnInstall.Enabled = true;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue