diff --git a/coinmanager/coinc/static/coinc/main.js b/coinmanager/coinc/static/coinc/main.js index 4b1f400..115af2f 100644 --- a/coinmanager/coinc/static/coinc/main.js +++ b/coinmanager/coinc/static/coinc/main.js @@ -235,6 +235,7 @@ $(document).ready(function() { // add coin $('td.coin').each(function() { + $(this).css('cursor', 'copy'); $(this).click(function() { save_settings(); @@ -283,6 +284,7 @@ $(document).ready(function() { if (response) { data['name'] = response['name'].trim().substring(0, 79); } + $(td).css('cursor', 'progress'); $.ajax({ type: 'POST', url: 'add/coin', @@ -290,6 +292,7 @@ $(document).ready(function() { dataType: 'json', td: td, success: function(response) { + $(td).css('cursor', 'copy'); if (response.status === 0) { render_response(data, this.td, settings); detach('add_coin_name'); @@ -308,6 +311,10 @@ $(document).ready(function() { $('#finish_edit').click(function() { $('nav.navbar').fadeOut('fast'); $('#begin_edit').fadeIn('fast'); + $('td.coin').each(function() { + $(this).css('cursor', 'default'); + $(this).off('click'); + }); }); // button #advanced_options