Created
November 16, 2013 19:53
-
-
Save mdix/7504547 to your computer and use it in GitHub Desktop.
Wrong indentation
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
| $.ajax({ | |
| url: updateUrl, | |
| type: 'POST', | |
| contentType: 'application/json', | |
| dataType: 'json', | |
| data: JSON.stringify(data) | |
| }).done(function(data) { | |
| updateDisplayData(data.data); | |
| updateFormWithJson(data.data); | |
| }).fail(function(data) { | |
| throw new Error('json request failed: ' + data.statusText); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment