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>
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-lxc
-PKG_RELEASE:=20160616
+PKG_RELEASE:=20161030
PKG_LICENSE:=Apache-2.0
CATEGORY:=LuCI
SUBMENU:=3. Applications
TITLE:=LXC management Web UI
- DEPENDS:=+luci-mod-admin-full +lxc +lxc-create +liblxc +rpcd-mod-lxc
+ DEPENDS:=+luci-mod-admin-full +lxc +lxc-create +liblxc +rpcd-mod-lxc +getopt +xz
MAINTAINER:=Petar Koretic <petar.koretic@sartura.hr>
endef
{
var option = document.createElement('option');
option.value = data[key];
- option.text = data[key].replace(/[_:]/, ' ');
+ option.text = data[key].replace(/[_:]/g, ' ');
select.add(option, -1);
}
})