Skip to content
This repository was archived by the owner on Apr 27, 2021. It is now read-only.

Commit c66fda1

Browse files
committed
only one save should be outstanding at any given time
1 parent 0b80086 commit c66fda1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

blissful.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@ function ProjectController($scope, $http, $resource, $filter) {
134134
return;
135135
}
136136
_save_timeout = setTimeout(function() {
137-
_save_timeout = null;
138-
$scope.save();
137+
$scope.save(function() {
138+
_save_timeout = null;
139+
});
139140
}, 1000);
140141
}
141142

0 commit comments

Comments
 (0)