Commit fdd8b604 authored by Hanspeter Portner's avatar Hanspeter Portner

web_ui: use input type "file" as default for webkit.

* webkit does not allow to change input type "text" into type "file"
dynamically, so we do it the other way round.
parent b7f51acc
Pipeline #4271544 passed with stages
in 7 minutes and 40 seconds
......@@ -564,7 +564,7 @@ function lv2_read_event(symbol, obj) {
var id = uri.replace(trim, '');
var props = $('#properties');
props.append('<tr class="writable" data-id="'+id+'"><td class="label"></td><td><input class="wide" id="'+id+'" name="'+uri+'" /></td><td class="unit"></td></tr>');
props.append('<tr class="writable" data-id="'+id+'"><td class="label"></td><td><input type="file" class="wide" id="'+id+'" name="'+uri+'" /></td><td class="unit"></td></tr>');
sort_properties();
$('#' + id).bind('wheel', property_wheel).change(property_change);
......@@ -576,7 +576,7 @@ function lv2_read_event(symbol, obj) {
var id = uri.replace(trim, '');
var props = $('#properties');
props.append('<tr class="readable" data-id="'+id+'"><td class="label"></td><td><input class="wide" id="'+id+'" name="'+uri+'" disabled /></td><td class="unit"></td></tr>');
props.append('<tr class="readable" data-id="'+id+'"><td class="label"></td><td><input type="file" class="wide" id="'+id+'" name="'+uri+'" disabled /></td><td class="unit"></td></tr>');
sort_properties();
lv2_get(MOONY.dsp, uri);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment