Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- updaterow: function(rowid, data, commit) {
- data.id = rowid;
- $.ajax({
- type: 'POST',
- url: '${pageContext.request.contextPath}/program-list/updateProgram',
- data: data,
- success: function(data, textStatus, jqXHR) {
- commit(true);
- },
- error: function(jqXHR, textStatus, errorThrown) {
- alert("Error");
- commit(false);
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement