Fixes to Flow creation form. 58/2058/3
authorEndre Karlson <endre.karlson@gmail.com>
Mon, 21 Oct 2013 20:57:40 +0000 (22:57 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 22 Oct 2013 08:32:27 +0000 (08:32 +0000)
commitb22c08b4302ef2f1781bbdafe06033eeba5e0ab1
tree766e23c2f98d218e0ca7f15c378949203db51483
parent9bddf37da0045fd6a2636959d3e0efdfed9c7a15
Fixes to Flow creation form.

* Use $watch on nodeString instead of selectNode() - feels more angular ish.
* Insert empty option ahead of the ones to be populated from api.
* Delete connectors when nodeString changes to ensure correct handling.

Change-Id: I16b9788cd731d1f33ac715c5840bebc77f7899ae
Signed-off-by: Endre Karlson <endre.karlson@gmail.com>
src/app/flow/create.tpl.html
src/app/flow/flows.js