mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
luci-app-lxc: Minor polishing
Add more dependencies needed by download template and replace all, not just first occurence of : or _ in template name with space in webui. Signed-off-by: Michal Hrušecký <Michal.Hrusecky@nic.cz>
This commit is contained in:
@@ -450,7 +450,7 @@ Author: Petar Koretic <petar.koretic@sartura.hr>
|
||||
{
|
||||
var option = document.createElement('option');
|
||||
option.value = data[key];
|
||||
option.text = data[key].replace(/[_:]/, ' ');
|
||||
option.text = data[key].replace(/[_:]/g, ' ');
|
||||
select.add(option, -1);
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user