diff options
Diffstat (limited to 'addons/skin.estuary/xml/Includes_Home.xml')
-rw-r--r-- | addons/skin.estuary/xml/Includes_Home.xml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/addons/skin.estuary/xml/Includes_Home.xml b/addons/skin.estuary/xml/Includes_Home.xml index 8abe7844a2..4164bcf100 100644 --- a/addons/skin.estuary/xml/Includes_Home.xml +++ b/addons/skin.estuary/xml/Includes_Home.xml @@ -21,7 +21,7 @@ <label>$PARAM[label]</label> <shadowcolor>text_shadow</shadowcolor> <visible>$PARAM[visible]</visible> - <visible>Integer.IsGreater(Container($PARAM[list_id]).NumItems,$PARAM[item_treshold]) | Container($PARAM[list_id]).IsUpdating</visible> + <visible>Integer.IsGreater(Container($PARAM[list_id]).NumItems,$PARAM[item_treshold]) | [Container($PARAM[list_id]).IsUpdating + Integer.IsEqual(Container($PARAM[list_id]).NumItems,0)]</visible> </control> </definition> </include> @@ -453,7 +453,6 @@ <include content="BusyListSpinner"> <param name="list_id" value="$PARAM[list_id]"/> <param name="posy" value="200"/> - <param name="item_treshold" value="$PARAM[item_treshold]"/> </include> <control type="panel" id="$PARAM[list_id]"> <left>0</left> @@ -463,7 +462,7 @@ <include content="WidgetListCommon"> <param name="list_id" value="$PARAM[list_id]"/> </include> - <visible>Integer.IsGreater(Container($PARAM[list_id]).NumItems,$PARAM[item_treshold]) | Container($PARAM[list_id]).IsUpdating</visible> + <visible>Integer.IsGreater(Container($PARAM[list_id]).NumItems,$PARAM[item_treshold]) | [Container($PARAM[list_id]).IsUpdating + Integer.IsEqual(Container($PARAM[list_id]).NumItems,0)]</visible> <itemlayout width="310" height="500"> <control type="group"> <left>70</left> @@ -944,12 +943,11 @@ <include name="BusyListSpinner"> <param name="posy">160</param> <param name="visible">true</param> - <param name="item_treshold">0</param> <definition> <control type="group" id="$PARAM[list_id]599"> <height>160</height> <left>180</left> - <visible>Container($PARAM[list_id]).IsUpdating + !Integer.IsGreater(Container($PARAM[list_id]).NumItems,$PARAM[item_treshold])</visible> + <visible>Container($PARAM[list_id]).IsUpdating + !Integer.IsGreater(Container($PARAM[list_id]).NumItems,0)</visible> <visible>$PARAM[visible]</visible> <control type="image"> <top>$PARAM[posy]</top> |