Change parameter type
This commit is contained in:
@@ -49,7 +49,7 @@ feature -- State
|
||||
|
||||
feature -- Callback
|
||||
|
||||
handle_callback (cname: LIST[STRING]; event: STRING; event_parameter: detachable STRING)
|
||||
handle_callback (cname: LIST[STRING]; event: STRING; event_parameter: detachable ANY)
|
||||
do
|
||||
Precursor {WSF_INPUT_CONTROL} (cname, event, event_parameter)
|
||||
if cname[1].same_string (control_name) and event.same_string ("autocomplete") then
|
||||
|
||||
@@ -54,7 +54,7 @@ feature --Event handling
|
||||
change_event := e
|
||||
end
|
||||
|
||||
handle_callback (cname: LIST[STRING]; event: STRING; event_parameter: detachable STRING)
|
||||
handle_callback (cname: LIST[STRING]; event: STRING; event_parameter: detachable ANY)
|
||||
do
|
||||
if Current.control_name.same_string (cname[1]) and attached change_event as cevent then
|
||||
if event.same_string ("change") then
|
||||
|
||||
@@ -49,7 +49,7 @@ feature --Event handling
|
||||
change_event := e
|
||||
end
|
||||
|
||||
handle_callback (cname: LIST [STRING]; event: STRING; event_parameter: detachable STRING)
|
||||
handle_callback (cname: LIST [STRING]; event: STRING; event_parameter: detachable ANY)
|
||||
do
|
||||
if Current.control_name.same_string (cname [1]) and attached change_event as cevent then
|
||||
if event.same_string ("change") then
|
||||
@@ -58,6 +58,17 @@ feature --Event handling
|
||||
end
|
||||
end
|
||||
|
||||
feature -- Upload
|
||||
|
||||
start_upload
|
||||
local
|
||||
upload: WSF_JSON_OBJECT
|
||||
do
|
||||
create upload.make
|
||||
upload.put_string ("start_upload", "type")
|
||||
actions.add (upload)
|
||||
end
|
||||
|
||||
feature -- Implementation
|
||||
|
||||
value: detachable WSF_PENDING_FILE
|
||||
|
||||
@@ -53,7 +53,7 @@ feature --Event handling
|
||||
change_event := e
|
||||
end
|
||||
|
||||
handle_callback (cname: LIST[STRING]; event: STRING; event_parameter: detachable STRING)
|
||||
handle_callback (cname: LIST[STRING]; event: STRING; event_parameter: detachable ANY)
|
||||
do
|
||||
if Current.control_name.same_string (cname[1]) and attached change_event as cevent then
|
||||
if event.same_string ("change") then
|
||||
|
||||
Reference in New Issue
Block a user