Advertisement
dzimen

Untitled

Dec 12th, 2018
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. updaterow: function(rowid, data, commit) {
  2. data.id = rowid;
  3. $.ajax({
  4. type: 'POST',
  5. url: '${pageContext.request.contextPath}/program-list/updateProgram',
  6. data: data,
  7. success: function(data, textStatus, jqXHR) {
  8. commit(true);
  9. },
  10. error: function(jqXHR, textStatus, errorThrown) {
  11. alert("Error");
  12. commit(false);
  13. }
  14. });
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement