validation
This commit is contained in:
		
							parent
							
								
									e40340362e
								
							
						
					
					
						commit
						b8554c741f
					
				@ -576,6 +576,7 @@ app.controller('websiteCtrl', [
 | 
			
		||||
      r.sharedWith = arr;
 | 
			
		||||
      var msg;
 | 
			
		||||
      var person = result.data.comment;
 | 
			
		||||
      debugger;
 | 
			
		||||
      if (result.data.error) {
 | 
			
		||||
        msg = result.data.error.message;
 | 
			
		||||
      } else {
 | 
			
		||||
 | 
			
		||||
@ -198,7 +198,7 @@
 | 
			
		||||
              <div class="form-group">
 | 
			
		||||
                <label class="col-md-1 control-label" for="">To:</label>
 | 
			
		||||
                <div class="col-md-8">
 | 
			
		||||
                  <input type="text" ng-model="r.shareEmail" class="form-control" placeholder="ex: john@example.com" />
 | 
			
		||||
                  <input type="text" ng-model="r.shareEmail" class="form-control" placeholder="ex: john@example.com" ng-change="showShareBtn = true"/>
 | 
			
		||||
                  <input type="hidden" ng-model="vm.autoPopulateWebPath" class="form-control" placeholder="/" disabled />
 | 
			
		||||
                </div>
 | 
			
		||||
                <div class="col-md-3">
 | 
			
		||||
@ -209,7 +209,7 @@
 | 
			
		||||
                  </multiselect>
 | 
			
		||||
                </div>
 | 
			
		||||
              </div>
 | 
			
		||||
              <div class="text-right">
 | 
			
		||||
              <div class="text-right" ng-show="showShareBtn">
 | 
			
		||||
                <button type="submit" class="btn btn-success text-center" ng-click="vm.Shares.invite(r)">Share</button>
 | 
			
		||||
              </div>
 | 
			
		||||
            </form>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user