luci2: UCIContext: add: respect "name" if passed
authorRafał Miłecki <zajec5@gmail.com>
Fri, 27 Jun 2014 19:38:35 +0000 (19:38 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 30 Jun 2014 11:41:28 +0000 (13:41 +0200)
commit501640081f58deec167cc44251e14e78ace710bb
treee59ea27d72e65e54ac7bff400b893be7335d5305
parentb7bde2e0ae9f21a3726fd6567e2b5eacbb8dbb92
luci2: UCIContext: add: respect "name" if passed

This allows creating UCI entries with a desired name, e.g.
config interface 'guestlan'

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
luci2/htdocs/luci2/luci2.js