Skip to content

Commit

Permalink
Release v.14.0.7700.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SFBuild committed Oct 14, 2021
1 parent 60c72f5 commit 036ee20
Show file tree
Hide file tree
Showing 21 changed files with 14,603 additions and 6,461 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,15 @@
var deferred = $q.defer();

$http.get(getUrl(), requestOptions())
.success(function (data) {
properties = data;
.then(function (response) {
properties = response.data;
//clone the result in initialData
initialData = $.extend(true, {}, data);
initialData = $.extend(true, {}, response.data);
loadingPromise = null;
deferred.resolve(data);
})
.error(function (data) {
deferred.resolve(response.data);
}, function (response) {
loadingPromise = null;
deferred.reject(data);
deferred.reject(response.data);
});

loadingPromise = deferred.promise;
Expand Down Expand Up @@ -191,12 +190,11 @@
var deferred = $q.defer();

$http.put(updateUrl(saveMode), modifiedData, requestOptions())
.success(function (data) {
.then(function (response) {
initialData = $.extend(true, {}, properties);
deferred.resolve(data);
})
.error(function (data) {
deferred.reject(data);
deferred.resolve(response.data);
}, function (response) {
deferred.reject(response.data);
});

return deferred.promise;
Expand Down
761 changes: 494 additions & 267 deletions Telerik.Sitefinity.Frontend/Mvc/Scripts/Angular/angular-resource.js

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Loading

0 comments on commit 036ee20

Please sign in to comment.