summaryrefslogtreecommitdiffstats
path: root/js/public/app.js
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-27 11:34:40 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-27 11:34:40 +0200
commit95ead2f0dacda070751e22ba4bcdc6127e3c0d3d (patch)
tree479fac98dccefd86ba0b2309c95385780c628beb /js/public/app.js
parent9d785168559eeaf2009078536ad98c23fa2cd6b0 (diff)
delete queue after successful delete request to prevent addtional delete when the next item is deleted
Diffstat (limited to 'js/public/app.js')
-rw-r--r--js/public/app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/public/app.js b/js/public/app.js
index e38c84d59..1ce79357b 100644
--- a/js/public/app.js
+++ b/js/public/app.js
@@ -3178,6 +3178,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
},
promise: this._$timeout(function() {
command.execute();
+ _this._queue = [];
return _this._$rootScope.$broadcast('notUndone');
}, this._timeout)
};