annot-server/static/js/app.js
changeset 116 61d4a6610ba4
parent 109 8546e2181a73
child 159 f2e4641681f6
equal deleted inserted replaced
115:14da5aeab8d9 116:61d4a6610ba4
   217                             text: freetext,
   217                             text: freetext,
   218                             color: hexc,
   218                             color: hexc,
   219                             user : $scope.username
   219                             user : $scope.username
   220                     };
   220                     };
   221                     sock.send(JSON.stringify(new_annot));
   221                     sock.send(JSON.stringify(new_annot));
   222                      if(context.logging===true){
   222                  if(context.logging===true){
   223                         log('Sent: ' + JSON.stringify(new_annot));
   223                         log('Sent: ' + JSON.stringify(new_annot));
   224                     }
   224                     }
   225                     if(typeof c==='undefined'){
   225                     if(typeof c==='undefined'){
   226                         $scope.annotPile.push(false);
   226                         $scope.annotPile.push(false);
   227                     }
   227                     }