* Add comment.
This commit is contained in:
@@ -363,8 +363,6 @@ class custom extends control
|
||||
$this->loadModel('setting');
|
||||
$data = fixer::input('post')->get();
|
||||
|
||||
/* Judgment of required items. */
|
||||
|
||||
$this->setting->setItem('system.custom.hourPoint', $data->hourPoint);
|
||||
$this->setting->setItem('system.custom.scaleFactor', $data->scaleFactor);
|
||||
$this->setting->setItem('system.custom.cost', $data->cost);
|
||||
|
||||
@@ -52,6 +52,8 @@ $(document).ready(function()
|
||||
function setScaleFactor()
|
||||
{
|
||||
var scaleFactor = $('#convertFactor').val();
|
||||
|
||||
/* Judgment of required items. */
|
||||
if(!scaleFactor)
|
||||
{
|
||||
alert(notempty);
|
||||
|
||||
Reference in New Issue
Block a user