[open-ils-commits] r14386 - branches/rel_1_6_0/Open-ILS/web/conify/global/actor (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Oct 12 16:25:48 EDT 2009


Author: miker
Date: 2009-10-12 16:25:42 -0400 (Mon, 12 Oct 2009)
New Revision: 14386

Modified:
   branches/rel_1_6_0/Open-ILS/web/conify/global/actor/org_unit.html
Log:
Patch from Laura Cassell to make the email regexp a bit more forgiving.
Specifically, this allows the name portion of the address to contain
period separated chunks.



Modified: branches/rel_1_6_0/Open-ILS/web/conify/global/actor/org_unit.html
===================================================================
--- branches/rel_1_6_0/Open-ILS/web/conify/global/actor/org_unit.html	2009-10-12 20:25:16 UTC (rev 14385)
+++ branches/rel_1_6_0/Open-ILS/web/conify/global/actor/org_unit.html	2009-10-12 20:25:42 UTC (rev 14386)
@@ -239,7 +239,7 @@
 							<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>



More information about the open-ils-commits mailing list