Rename function to a better name

This commit is contained in:
Marc Delisle
2011-01-03 10:59:08 -05:00
parent e9ee1615e7
commit 027f4286ed
2 changed files with 4 additions and 4 deletions

View File

@@ -155,8 +155,8 @@ function isTime(val)
return false;
return true;
}
//validate the datetime and integer
function Validator(urlField, multi_edit,theType){
function verificationsAfterFieldChange(urlField, multi_edit,theType){
var rowForm = document.forms['insertForm'];
var evt = window.event || arguments.callee.caller.arguments[0];
var target = evt.target || evt.srcElement;
@@ -394,7 +394,7 @@ $(document).ready(function() {
.data('new_row_index', new_row_index)
.bind('change', function(e) {
var $changed_element = $(this);
Validator(
verificationsAfterFieldChange(
$changed_element.data('hashed_field'),
$changed_element.data('new_row_index'),
$changed_element.closest('tr').find('span.column_type').html()