NIHVIVO-193 Added Javascript functionality to custom form for person has position
This commit is contained in:
parent
5ae39b8382
commit
a451740c85
4 changed files with 29 additions and 2 deletions
|
@ -60,6 +60,7 @@
|
|||
</script>
|
||||
<% } %>
|
||||
|
||||
<script language="javascript" type="text/javascript" src="../js/extensions/String.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="../js/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="../js/jquery_plugins/jquery.bgiframe.pack.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="../js/jquery_plugins/thickbox/thickbox-compressed.js"></script>
|
||||
|
|
5
webapp/web/js/extensions/String.js
Normal file
5
webapp/web/js/extensions/String.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||
|
||||
String.prototype.capitalize = function() {
|
||||
return this.substring(0,1).toUpperCase() + this.substring(1);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue