Option "searching" defaults to false

This commit is contained in:
Samuel Georges 2017-07-15 14:34:53 +10:00
parent db943c077b
commit 953336d250
2 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ class Table extends WidgetBase
$this->vars['recordsPerPage'] = $this->getConfig('recordsPerPage', false) ?: 'false';
$this->vars['postbackHandlerName'] = $this->getConfig('postbackHandlerName', 'onSave');
$this->vars['searching'] = $this->getConfig('searching', true);
$this->vars['searching'] = $this->getConfig('searching', false);
$this->vars['adding'] = $this->getConfig('adding', true);
$this->vars['deleting'] = $this->getConfig('deleting', true);
$this->vars['toolbar'] = $this->getConfig('toolbar', true);

View File

@ -1133,7 +1133,7 @@
if (typeof option == 'string') result = data[option].apply(data, args)
if (typeof result != 'undefined') return false
})
return result ? result : this
}