Subversion Repositories DevTools

Rev

Rev 119 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 119 Rev 5207
Line 95... Line 95...
95
	maxchars=sz;
95
	maxchars=sz;
96
	HTMLchr=/[\<\>\'\"]+/i;
96
	HTMLchr=/[\<\>\'\"]+/i;
97
	val=MM_findObj(ob);
97
	val=MM_findObj(ob);
98
	val=val.value;
98
	val=val.value;
99
	if (val.length>maxchars) {
99
	if (val.length>maxchars) {
100
		alert('Notes are too long!\n\nMaximum of '+ maxchars +' characters is allowed!');
100
		vixAlert('Notes are too long!\n\nMaximum of '+ maxchars +' characters is allowed!');
101
   		document.validstr_returnValue = false;
101
   		document.validstr_returnValue = false;
102
	} else if (val.match(HTMLchr)) {
102
	} else if (val.match(HTMLchr)) {
103
		alert('Notes contain invalid characters like \'< > quotes\'');
103
		vixAlert('Notes contain invalid characters like \'< > quotes\'');
104
   		document.validstr_returnValue = false;
104
   		document.validstr_returnValue = false;
105
	} else {
105
	} else {
106
		document.validstr_returnValue = true;
106
		document.validstr_returnValue = true;
107
	}
107
	}
108
}
108
}
109
//-->
109
//-->
110
</script>
110
</script>
111
</head>
111
</head>
112
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();document.notes.FRnotes.focus();">
112
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();document.notes.FRnotes.focus();">
-
 
113
<!--#include file="_jquery_includes.asp"-->
113
<form name="notes" method="post" action="<%=scriptName%>">
114
<form name="notes" method="post" action="<%=scriptName%>">
114
  <table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
115
  <table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
115
    <tr> 
116
    <tr> 
116
      <td background="images/lbox_bg_orange.gif" width="1%" height="1%"><img src="images/i_note.gif" width="18" height="22" hspace="5"></td>
117
      <td background="images/lbox_bg_orange.gif" width="1%" height="1%"><img src="images/i_note.gif" width="18" height="22" hspace="5"></td>
117
      <td background="images/lbox_bg_blue.gif" nowrap width="50%" class="wform_ttl">Issue Notes</td>
118
      <td background="images/lbox_bg_blue.gif" nowrap width="50%" class="wform_ttl">Issue Notes</td>