From 353d7e33cb5dcc69003ef0390d209cc2bbfa1ebe Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Wed, 11 Jan 2006 20:50:04 +0000 Subject: [PATCH] Removed a troublesome line of javascript that caused the many-to-many interface to break on Safari in OS X 10.4.4. Don't you just love web browsers? git-svn-id: http://code.djangoproject.com/svn/django/trunk@1913 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/media/js/SelectFilter2.js | 1 - 1 file changed, 1 deletion(-) diff --git a/django/contrib/admin/media/js/SelectFilter2.js b/django/contrib/admin/media/js/SelectFilter2.js index a34f80ad03..8f6079e0b3 100644 --- a/django/contrib/admin/media/js/SelectFilter2.js +++ b/django/contrib/admin/media/js/SelectFilter2.js @@ -70,7 +70,6 @@ var SelectFilter = { addEvent(filter_input, 'keyup', function(e) { SelectFilter.filter_key_up(e, field_id); }); addEvent(filter_input, 'keydown', function(e) { SelectFilter.filter_key_down(e, field_id); }); addEvent(from_box, 'dblclick', function() { SelectBox.move(field_id + '_from', field_id + '_to'); }); - addEvent(from_box, 'focus', function() { filter_input.focus(); }); addEvent(to_box, 'dblclick', function() { SelectBox.move(field_id + '_to', field_id + '_from'); }); addEvent(findForm(from_box), 'submit', function() { SelectBox.select_all(field_id + '_to'); }); SelectBox.init(field_id + '_from');