Created
          April 9, 2015 08:04 
        
      - 
      
- 
        Save kaspar-naaber/59437b494fc28867fa82 to your computer and use it in GitHub Desktop. 
    Update Voog content areas
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // Article body | |
| Edicy.jQuery.ajax({ | |
| type: "PUT", | |
| contentType: "application/json", | |
| url: '/admin/api/articles/566710', | |
| data: JSON.stringify({ body: '' }), | |
| dataType: "json" | |
| }); | |
| // Content text | |
| Edicy.jQuery.ajax({ | |
| type: "PUT", | |
| contentType: "application/json", | |
| url: '/admin/api/texts/3100562', | |
| data: JSON.stringify({ body: '' }), | |
| dataType: "json" | |
| }); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment