diff --git a/library/server/wsf_js_widget/wsf_image_slider_control.e b/library/server/wsf_js_widget/wsf_image_slider_control.e index c8d99362..60c0b7c5 100644 --- a/library/server/wsf_js_widget/wsf_image_slider_control.e +++ b/library/server/wsf_js_widget/wsf_image_slider_control.e @@ -5,7 +5,7 @@ note revision: "$Revision$" class - WSF_IMAGE_SLIDER_CONTROL + WSF_SLIDER_CONTROL inherit @@ -72,22 +72,26 @@ feature -- Change if attached caption as c then item.add_control (c) end + slide_wrapper.add_control (item) end add_image (src, alt: STRING) -- Add a new image to the slider, with specified url and alternative text - local - item: WSF_MULTI_CONTROL [WSF_STATELESS_CONTROL] do add_image_with_caption (src, alt, Void) end + add_control(c:WSF_STATELESS_CONTROL) + do + + end + feature -- Properties list: WSF_STATELESS_MULTI_CONTROL -- List of slider links slide_wrapper: WSF_STATELESS_MULTI_CONTROL - -- List of the single image slides + -- List of the single slides end