Fixed normal bug EXT-5856 - "Auto renew each week" checkbox is displayed in the Classified Info from other resident profile.

Hide auro_renew checkbox for avatar classifieds and showing for agent classifirds.

--HG--
branch : product-engine
master
Dmitry Zaporozhan 2010-03-02 11:34:14 +02:00
parent 4802a6f572
commit bbe2daad55
2 changed files with 12 additions and 10 deletions

View File

@ -1292,11 +1292,13 @@ void LLPanelClassifiedInfo::resetControls()
{
childSetEnabled("edit_btn", TRUE);
childSetVisible("edit_btn", TRUE);
childSetVisible("auto_renew", TRUE);
}
else
{
childSetEnabled("edit_btn", FALSE);
childSetVisible("edit_btn", FALSE);
childSetVisible("auto_renew", FALSE);
}
}

View File

@ -136,16 +136,6 @@
top_pad="5"
v_pad="0"
value="[category]" />
<check_box
enabled="false"
height="16"
label="Auto renew each week"
layout="topleft"
left="10"
name="auto_renew"
top_pad="5"
v_pad="0"
width="290" />
<text_editor
allow_scroll="false"
bg_visible="false"
@ -161,6 +151,16 @@
tool_tip="Price for listing."
v_pad="0"
width="105" />
<check_box
enabled="false"
height="16"
label="Auto renew each week"
layout="topleft"
left="10"
name="auto_renew"
top_pad="5"
v_pad="0"
width="290" />
<text_editor
allow_html="true"
allow_scroll="false"