Removed not needed comments.

This commit is contained in:
Martin Edenhofer 2016-05-29 00:09:04 +02:00
parent 8c67bc4876
commit c5ed8776ce

View file

@ -1776,21 +1776,19 @@ wait untill text in selector disabppears
if params[:custom_data_select]
params[:custom_data_select].each {|local_key, local_value|
select(
browser: instance,
css: ".active .newTicket select[name=\"#{local_key}\"]",
value: local_value,
#mute_log: true,
browser: instance,
css: ".active .newTicket select[name=\"#{local_key}\"]",
value: local_value,
)
}
end
if params[:custom_data_input]
params[:custom_data_input].each {|local_key, local_value|
set(
browser: instance,
css: ".active .newTicket input[name=\"#{local_key}\"]",
value: local_value,
clear: true,
#mute_log: true,
browser: instance,
css: ".active .newTicket input[name=\"#{local_key}\"]",
value: local_value,
clear: true,
)
}
end
@ -2015,21 +2013,19 @@ wait untill text in selector disabppears
if params[:custom_data_select]
params[:custom_data_select].each {|local_key, local_value|
select(
browser: instance,
css: ".active .sidebar select[name=\"#{local_key}\"]",
value: local_value,
#mute_log: true,
browser: instance,
css: ".active .sidebar select[name=\"#{local_key}\"]",
value: local_value,
)
}
end
if params[:custom_data_input]
params[:custom_data_input].each {|local_key, local_value|
set(
browser: instance,
css: ".active .sidebar input[name=\"#{local_key}\"]",
value: local_value,
clear: true,
#mute_log: true,
browser: instance,
css: ".active .sidebar input[name=\"#{local_key}\"]",
value: local_value,
clear: true,
)
}
end