Index: trunk/extensions/Collection/js/bookcreator.js |
— | — | @@ -179,7 +179,7 @@ |
180 | 180 | return; |
181 | 181 | } |
182 | 182 | var $this = $(this); |
183 | | - if ($this.attr('title').indexOf(':') != -1) { // title doesn't contain ":" (simplification!) |
| 183 | + if (!$this.attr('title') || $this.attr('title').indexOf(':') != -1) { // title doesn't contain ":" (simplification!) |
184 | 184 | return; |
185 | 185 | } |
186 | 186 | if ($this.parents('.nopopups').length) { |