protocols: add client side protocol handler implementations
[project/luci.git] / modules / luci-base / htdocs / luci-static / resources / protocol / none.js
diff --git a/modules/luci-base/htdocs/luci-static/resources/protocol/none.js b/modules/luci-base/htdocs/luci-static/resources/protocol/none.js
new file mode 100644 (file)
index 0000000..37674c0
--- /dev/null
@@ -0,0 +1,8 @@
+'use strict';
+'require network';
+
+return network.registerProtocol('none', {
+       getI18n: function() {
+               return _('Unmanaged');
+       }
+});