nitdoc: Fix bug when signing in
authorStefan Lage <lagestfan@gmail.com>
Fri, 24 May 2013 01:02:08 +0000 (21:02 -0400)
committerStefan Lage <lagestfan@gmail.com>
Fri, 24 May 2013 02:26:51 +0000 (22:26 -0400)
commit7af19d9ec6aa1b36082e6f0874c137b3c7ad9868
treefcca492d60029c562c55931b4ced017e64c7adff
parent969ec803747666596c01446e083a2b650dda1e54
nitdoc: Fix bug when signing in

Before creating the session, we check if the repository and the branch
informed are existing, whose causing some bugs when one of these do not
exist. If the repository does not exist then we stop the process. If
the branch does not exist we ask to the customer if he wants to create
it.

Signed-off-by: Stefan Lage <lagestfan@gmail.com>
share/nitdoc/scripts/js-facilities.js