diff --git a/scp/js/scp.js b/scp/js/scp.js index 6b68d970a6581b46fc2dcca8c954d9b68b8888c5..bbc7a7bf5d93b7d9f18849302168becdd4a985b2 100644 --- a/scp/js/scp.js +++ b/scp/js/scp.js @@ -378,7 +378,8 @@ var scp_prep = function() { $('input[name^='+attr+']', ui.item.parent('tbody')).each(function(i, el) { $(el).val(i + 1 + offset); }); - } + }, + 'cancel': ':input,button,div[contenteditable=true]' }); // Scroll to a stop or top on scroll-up click