@osovitny/anatoly 2.0.35 → 2.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1837,13 +1837,13 @@
1837
1837
  BaseGridEditService.prototype.delete = function (data, sucess) {
1838
1838
  var _this = this;
1839
1839
  this.reset();
1840
- this.post('delete', data).subscribe(function () {
1841
- }, function () {
1842
- _this.read();
1843
- }, function () {
1840
+ var url = this.baseUrl + "/delete" + this.serializeParams(data);
1841
+ return this.http.delete(url).subscribe(function () {
1844
1842
  _this.read();
1845
1843
  if (sucess)
1846
1844
  sucess();
1845
+ }, function () {
1846
+ _this.read();
1847
1847
  });
1848
1848
  };
1849
1849
  BaseGridEditService.prototype.post = function (action, data) {