src/p4l/static/p4l/js/p4l.js
changeset 67 2ed617d40598
parent 63 09a086a49b71
child 70 2ee11f57e318
--- a/src/p4l/static/p4l/js/p4l.js	Wed Sep 11 11:37:16 2013 +0200
+++ b/src/p4l/static/p4l/js/p4l.js	Wed Sep 11 12:23:30 2013 +0200
@@ -136,6 +136,7 @@
 			      $scope[k] = attr_dict[k];
 			  }
 		  }
+		  $scope.formVisible = false;
     	  // initalize autocomplete and browse thesaurus events
     	  // We have to timeout because init_browse needs the real ids and not {{ $id }}
     	  // NB : scope.apply generates bug
@@ -188,6 +189,7 @@
                     $scope[k] = attr_dict[k];
                 }
             }
+            $scope.formVisible = false;
             // initalize autocomplete and browse thesaurus events
             // We have to timeout because init_browse needs the real ids and not {{ $id }}
             // NB : scope.apply generates bug