Index: trunk/extensions/SemanticForms/libs/SemanticForms.js |
— | — | @@ -910,7 +910,7 @@ |
911 | 911 | } |
912 | 912 | select.val(ui.item.id); |
913 | 913 | self._trigger("selected", event, { |
914 | | - item: select.find("[value='" + ui.item.id + "']") |
| 914 | + item: select.find("[value='" + ui.item.id.replace("'", "\\'") + "']") |
915 | 915 | }); |
916 | 916 | |
917 | 917 | }, |