Index: trunk/extensions/SemanticForms/libs/SemanticForms.js |
— | — | @@ -130,6 +130,11 @@ |
131 | 131 | // attribute. This should probably be done as three separate attributes, |
132 | 132 | // instead. |
133 | 133 | var field_string = jQuery(this).attr("autocompletesettings"); |
| 134 | + |
| 135 | + if ( typeof field_string === 'undefined' ) { |
| 136 | + return; |
| 137 | + } |
| 138 | + |
134 | 139 | var field_values = field_string.split(','); |
135 | 140 | var delimiter = null; |
136 | 141 | var data_source = field_values[0]; |