Patch from Laura Cassell to make the email regexp a bit more forgiving.
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 12 Oct 2009 20:24:46 +0000 (20:24 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 12 Oct 2009 20:24:46 +0000 (20:24 +0000)
Specifically, this allows the name portion of the address to contain
period separated chunks.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14384 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/conify/global/actor/org_unit.html

index d0d85d1..647cb89 100644 (file)
                                                        <tr>
                                                                <th>&conify.org_unit.editor_pane.main_email;</th>
                                                                <td>
-                                                                       <span id="editor_pane_email" dojoType="dijit.form.ValidationTextBox" jsId="editor_pane_email" regExp="^\w+\@\w+(?:\.\w+)+$">
+                                                                       <span id="editor_pane_email" dojoType="dijit.form.ValidationTextBox" jsId="editor_pane_email" regExp="^\w+(?:\.\w+)*\@\w+(?:\.\w+)+$">
                                                                                <script type="dojo/connect" event="onChange">
                                                                                        if (current_ou) ou_list_store.setValue( current_ou, "email", this.getValue() );
                                                                                </script>