aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/fixmystreet.js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-08-01 18:54:07 +0100
committerStruan Donald <struan@exo.org.uk>2011-08-01 18:54:07 +0100
commit6d38f3aeaa6f4eb0f51a773658cb4923d45f6968 (patch)
tree0b331bad65d9faef2dfa22af90b7cb1d0a9b05ed /web/js/fixmystreet.js
parent720fc7ff7f9a375389ae4ba67bb56ce55587363a (diff)
slight neatening of data structure and some html tidy up
Diffstat (limited to 'web/js/fixmystreet.js')
-rw-r--r--web/js/fixmystreet.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/fixmystreet.js b/web/js/fixmystreet.js
index 2ebf74751..22cd1c64f 100644
--- a/web/js/fixmystreet.js
+++ b/web/js/fixmystreet.js
@@ -61,7 +61,7 @@ $(function(){
if ( category_extras ) {
$('#category_meta').empty();
if ( category_extras[this.options[ this.selectedIndex ].text] ) {
- extras = category_extras[this.options[ this.selectedIndex ].text].attribute;
+ extras = category_extras[this.options[ this.selectedIndex ].text];
for ( i in extras ) {
meta = extras[i];
field = '<div class="form-field">';