From 63cef4c7d641ffddaeabcd768020674e2681ba05 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 20 Mar 2013 21:39:30 +0100 Subject: improved ui, render waiting files --- module/web/static/js/views/fileView.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/web/static/js/views/fileView.js') diff --git a/module/web/static/js/views/fileView.js b/module/web/static/js/views/fileView.js index 68e8df176..2d5d844c8 100644 --- a/module/web/static/js/views/fileView.js +++ b/module/web/static/js/views/fileView.js @@ -9,7 +9,8 @@ define(['jquery', 'backbone', 'underscore', 'app', 'utils/apitypes', 'views/abst template: _.compile($("#template-file").html()), events: { 'click .checkbox': 'select', - 'click .iconf-trash': 'deleteItem' + 'click .btn-delete': 'deleteItem', + 'click .btn-restart': 'restart' }, initialize: function() { @@ -49,9 +50,8 @@ define(['jquery', 'backbone', 'underscore', 'app', 'utils/apitypes', 'views/abst if (this.model.get('visible')) this.$el.show(); - else { + else this.$el.hide(); - } return this; }, -- cgit v1.2.3