mirror of
https://github.com/django/django.git
synced 2025-07-06 02:39:12 +00:00
newforms-admin: Merged to [6015]
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
22e160945a
commit
20219e9fb6
@ -80,9 +80,11 @@ var SelectBox = {
|
||||
var to_box = document.getElementById(to);
|
||||
var option;
|
||||
for (var i = 0; (option = from_box.options[i]); i++) {
|
||||
if (SelectBox.cache_contains(from, option.value)) {
|
||||
SelectBox.add_to_cache(to, {value: option.value, text: option.text, displayed: 1});
|
||||
SelectBox.delete_from_cache(from, option.value);
|
||||
}
|
||||
}
|
||||
SelectBox.redisplay(from);
|
||||
SelectBox.redisplay(to);
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user