* Changing the name of a function.

This commit is contained in:
tianshujie
2022-07-05 08:47:45 +08:00
parent de4ae73289
commit 17a8e9dcd5
4 changed files with 11 additions and 7 deletions
+5 -3
View File
@@ -22,7 +22,7 @@ $(function()
var link = createLink('custom', 'ajaxSaveCustomFields', 'module=bug&section=custom&key=batchCreateFields');
$.post(link, {'fields' : fields}, function()
{
checkedShowFields(fields);
showCheckedFields(fields);
$('#formSetting').parent().removeClass('open');
if($('#batchCreateForm table thead tr th.c-title').width() < 150) $titleCol.width(150);
@@ -47,14 +47,16 @@ $(function()
})
/**
* Checked show fields.
* Show checked fields.
*
* @param string fields
* @access public
* @return void
*/
function checkedShowFields(fields)
function showCheckedFields(fields)
{
showFields = fields;
var fieldList = ',' + fields + ',';
$('#formSettingForm > .checkboxes > .checkbox-primary > input').each(function()
{
+1 -1
View File
@@ -23,7 +23,7 @@ $(function()
var link = createLink('custom', 'ajaxSaveCustomFields', 'module=task&section=custom&key=batchCreateFields');
$.post(link, {'fields' : fields}, function()
{
checkedShowFields(fields);
showCheckedFields(fields);
$('#formSetting').parent().removeClass('open');
var fieldCount = $('#batchCreateForm .table thead>tr>th:visible').length;
+4 -2
View File
@@ -21,14 +21,16 @@ function setStoryModule()
}
/**
* Checked show fields.
* Show checked fields.
*
* @param string fields
* @access public
* @return void
*/
function checkedShowFields(fields)
function showCheckedFields(fields)
{
showFields = fields;
var fieldList = ',' + fields + ',';
$('#formSettingForm > .checkboxes > .checkbox-primary > input').each(function()
{
+1 -1
View File
@@ -17,7 +17,7 @@ $(function()
var link = createLink('custom', 'ajaxSaveCustomFields', 'module=task&section=custom&key=createFields');
$.post(link, {'fields' : fields}, function()
{
checkedShowFields(fields);
showCheckedFields(fields);
$('#formSetting').parent().removeClass('open');
});