[open-ils-commits] r14387 - tags/rel_1_6_0_0/Open-ILS/web/conify/global/actor (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Oct 12 16:26:08 EDT 2009


Author: miker
Date: 2009-10-12 16:26:03 -0400 (Mon, 12 Oct 2009)
New Revision: 14387

Modified:
   tags/rel_1_6_0_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: tags/rel_1_6_0_0/Open-ILS/web/conify/global/actor/org_unit.html
===================================================================
--- tags/rel_1_6_0_0/Open-ILS/web/conify/global/actor/org_unit.html	2009-10-12 20:25:42 UTC (rev 14386)
+++ tags/rel_1_6_0_0/Open-ILS/web/conify/global/actor/org_unit.html	2009-10-12 20:26:03 UTC (rev 14387)
@@ -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