1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-22 08:12:27 +00:00

Fix bug in UI

Extra parameters of the plugins didn't get a box all the time.
This commit is contained in:
J. Fernando Sánchez 2018-01-01 13:12:09 +01:00
parent 0204e0b8e9
commit f93eed2cf5

View File

@ -57,7 +57,6 @@ $(document).ready(function() {
html+= " disabled=\"disabled\" " html+= " disabled=\"disabled\" "
} }
html+=">"+plugin["name"]+"</option>" html+=">"+plugin["name"]+"</option>"
}
if (plugin["extra_params"]){ if (plugin["extra_params"]){
plugins_params[plugin["name"]]={}; plugins_params[plugin["name"]]={};
@ -73,6 +72,7 @@ $(document).ready(function() {
} }
} }
} }
}
var pluginEntry = document.createElement('li'); var pluginEntry = document.createElement('li');
newHtml = "" newHtml = ""