Commit 8c5c4c50 by Tomek Romik Committed by Qiang Xue

Fix lines

parent ed3564c1
......@@ -123,8 +123,6 @@ yii.validation = (function ($) {
var files = $(attribute.input).get(0).files,
self = this;
if ( !self.globalFiles(files, messages, options) ) {
return;
}
......
......@@ -332,7 +332,8 @@ class FileValidator extends Validator
/**
* @inheritdoc
*/
public function clientValidateAttribute($object, $attribute, $view) {
public function clientValidateAttribute($object, $attribute, $view)
{
$label = $object->getAttributeLabel($attribute);
if ( $this->message !== null ){
......
......@@ -168,7 +168,7 @@ class ImageValidator extends FileValidator
$label = $object->getAttributeLabel($attribute);
// Inherit options from FileValidator
// Inherit client options from FileValidator
$options = $this->_clientOptions;
if ( $this->notImage !== null ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment