74 data: data, |
74 data: data, |
75 type: 'POST', |
75 type: 'POST', |
76 success: function (data, status, xhr) { |
76 success: function (data, status, xhr) { |
77 commit(true); |
77 commit(true); |
78 console.log('mash deleterow ' + rowid + ' success'); |
78 console.log('mash deleterow ' + rowid + ' success'); |
|
79 location.reload( true ); |
79 }, |
80 }, |
80 error: function (jqXHR, textStatus, errorThrown) { |
81 error: function (jqXHR, textStatus, errorThrown) { |
81 commit(false); |
82 commit(false); |
82 console.log('mash deleterow ' + textStatus); |
83 console.log('mash deleterow ' + textStatus); |
83 } |
84 } |
92 data: data, |
93 data: data, |
93 type: "POST", |
94 type: "POST", |
94 success: function (data, status, xhr) { |
95 success: function (data, status, xhr) { |
95 commit(true); |
96 commit(true); |
96 console.log('mash addrow ' + rowid + ' success'); |
97 console.log('mash addrow ' + rowid + ' success'); |
|
98 location.reload( true ); |
97 }, |
99 }, |
98 error: function(jqXHR, textStatus, errorThrown) { |
100 error: function(jqXHR, textStatus, errorThrown) { |
99 commit(false); |
101 commit(false); |
100 console.log('mash addrow ' + textStatus); |
102 console.log('mash addrow ' + textStatus); |
101 } |
103 } |
110 data: data, |
112 data: data, |
111 type: "POST", |
113 type: "POST", |
112 success: function (data, status, xhr) { |
114 success: function (data, status, xhr) { |
113 commit(true); |
115 commit(true); |
114 console.log('mash updaterow ' + rowid + ' success'); |
116 console.log('mash updaterow ' + rowid + ' success'); |
|
117 location.reload( true ); |
115 }, |
118 }, |
116 error: function(jqXHR, textStatus, errorThrown) { |
119 error: function(jqXHR, textStatus, errorThrown) { |
117 commit(false); |
120 commit(false); |
118 console.log('mash updaterow ' + textStatus); |
121 console.log('mash updaterow ' + textStatus); |
119 } |
122 } |