summaryrefslogtreecommitdiff
path: root/www/js/jingles.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/jingles.js')
-rw-r--r--www/js/jingles.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/js/jingles.js b/www/js/jingles.js
index 70d84f9..fb36934 100644
--- a/www/js/jingles.js
+++ b/www/js/jingles.js
@@ -209,6 +209,7 @@ Rivendell.JingleCutView.prototype.render = function() {
};
Rivendell.JingleCutView.prototype.move = function() {
+ this.$el.find('td:first').html('<span class="label label-default"><span class="glyphicon glyphicon-repeat spin"></span></span>')
var self = this;
var destinationCart = this.model.cartNumber;
@@ -237,6 +238,7 @@ Rivendell.JingleCutView.prototype.move = function() {
};
Rivendell.JingleCutView.prototype.toggleActive = function() {
+ this.$el.find('td:first').html('<span class="label label-default"><span class="glyphicon glyphicon-repeat spin"></span></span>')
var destinationCart = this.model.cartNumber;
if (this.model.active) {
destinationCart++;
@@ -250,6 +252,7 @@ Rivendell.JingleCutView.prototype.toggleActive = function() {
};
Rivendell.JingleCutView.prototype.delete = function() {
+ this.$el.find('td:first').html('<span class="label label-default"><span class="glyphicon glyphicon-repeat spin"></span></span>')
var self = this;
rivendell.removeCut(this.model.cartNumber, this.model.number, function() {
self.model.cart.removeCut(self.model);