Fix for Bug 403: Install button does not work correctly first time if flow is edited... 02/5302/2
authordeepankar <deepankar.gupta@tcs.com>
Thu, 13 Feb 2014 08:55:34 +0000 (14:25 +0530)
committerDeepankar Gupta <deepankar.gupta@tcs.com>
Thu, 13 Feb 2014 11:05:46 +0000 (11:05 +0000)
commit5683e10a5d088e3e5c73cb8e7fc9cc0e91510172
treed3dab7d6daedd7901f58de803f61ae3917e6748d
parentcdad86dae2cdb6e686e821091cb33a772eb3b50c
Fix for Bug 403: Install button does not work correctly first time if flow is edited in UI.

Root Cause: Whenever user edits a flow entry, page.js file passes the value of installInHw as true always (line ). If the flow is not installed in the hardware, this reverts the value of installInHw from false to true causing this issue.

Fix: Changes Done:
1. In page.js file, On edit click button a new variable install is defined, which is assigned to the value of installInHw(true/false) in respect to a flow entry.
2. The variable install is passed to the edit function instead of passing the value as true always

Change-Id: I4e0df2a3061d165b8ab534dff44d4c196e7d9872
Signed-off-by: deepankar <deepankar.gupta@tcs.com>
opendaylight/web/flows/src/main/resources/js/page.js