WIP installer refactor, image uploader adds option to upload other image

[TFS Changeset #77172]
This commit is contained in:
starfighter83
2010-09-14 11:18:07 +00:00
parent ffa111617f
commit e5d1d481c1
3 changed files with 17 additions and 2 deletions

View File

@@ -172,8 +172,9 @@
<asp:Image ID="Image1" runat="server" />
</div>
<a href="#" onclick="ResetToDefault();return false;">Reset</a>
<a href="#" onclick="ResetToDefault();return false;">Reset</a>&nbsp;
<asp:LinkButton ID="bt_uploadother" runat="server" onclick="bt_uploadother_Click">upload other image</asp:LinkButton>
<div id="slidercontainer" style="display:none;">
<div id="slider"></div>
</div>

View File

@@ -66,6 +66,11 @@ namespace umbraco.presentation.umbraco.LiveEditing.Modules.SkinModule
}
}
protected void bt_uploadother_Click(object sender, EventArgs e)
{
pnl_crop.Visible = false;
pnl_upload.Visible = true;
}
protected void bt_crop_Click(object sender, EventArgs e)
{

View File

@@ -147,6 +147,15 @@ namespace umbraco.presentation.umbraco.LiveEditing.Modules.SkinModule {
/// </remarks>
protected global::System.Web.UI.WebControls.Image Image1;
/// <summary>
/// bt_uploadother 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.LinkButton bt_uploadother;
/// <summary>
/// bt_crop control.
/// </summary>