We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I started to do it, but then I got lazy. Everything that gets a return should be wrapped in an error like this:
app().api({ "action":"create", "emergency":emergencyItem, "type":type, "heading":modal.find('[name=heading]').val(), "topic":modal.find('[name=topic]').val(), "id":$('.session:first').attr('id').split('-')[1] }, function(json){ if(!json.error){ addRemoveBureausOwners('owner',json.item_id); addRemoveBureausOwners('bureau',json.item_id); displayAgenda(dataStore('active-agenda')); app().modal('close') } else{ alert('Error: '+json.error); } });
Marked as a feature because it'll help for debugging purposes for them.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I started to do it, but then I got lazy. Everything that gets a return should be wrapped in an error like this:
Marked as a feature because it'll help for debugging purposes for them.
The text was updated successfully, but these errors were encountered: