From c52a51337837f35a7ee86fb04679eb0c9f27398c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Severin=20M=C3=BCnger?= Date: Tue, 24 Sep 2013 14:38:01 +0200 Subject: [PATCH] Changed slider --- .../server/wsf_js_widget/wsf_image_slider_control.e | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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