Skip to content

Commit cb488cf

Browse files
committed
changes to ixxy-url-field: Only ever take the value from the text field. Performance improvements. plus bug fixes and tweaks
1 parent 59469db commit cb488cf

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ixxy_url_field/choice_with_other.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,5 @@ def compress(self, value):
6363
if not value:
6464
return ''
6565

66-
return value[1] #Only ever take the value from the text field. The select menu is now just a way to correctly fill in the text field.
67-
#if force_unicode(value[0]) == OTHER_CHOICE:
68-
# return value[1]
69-
#else:
70-
# return value[0]
66+
return value[1] #value[0] is ignored. Only ever take the value from the text field. The select menu is now just a way to correctly fill in the text field.
7167

0 commit comments

Comments
 (0)