Option "searching" defaults to false
This commit is contained in:
parent
db943c077b
commit
953336d250
|
|
@ -121,7 +121,7 @@ class Table extends WidgetBase
|
||||||
|
|
||||||
$this->vars['recordsPerPage'] = $this->getConfig('recordsPerPage', false) ?: 'false';
|
$this->vars['recordsPerPage'] = $this->getConfig('recordsPerPage', false) ?: 'false';
|
||||||
$this->vars['postbackHandlerName'] = $this->getConfig('postbackHandlerName', 'onSave');
|
$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['adding'] = $this->getConfig('adding', true);
|
||||||
$this->vars['deleting'] = $this->getConfig('deleting', true);
|
$this->vars['deleting'] = $this->getConfig('deleting', true);
|
||||||
$this->vars['toolbar'] = $this->getConfig('toolbar', true);
|
$this->vars['toolbar'] = $this->getConfig('toolbar', true);
|
||||||
|
|
|
||||||
|
|
@ -1133,7 +1133,7 @@
|
||||||
if (typeof option == 'string') result = data[option].apply(data, args)
|
if (typeof option == 'string') result = data[option].apply(data, args)
|
||||||
if (typeof result != 'undefined') return false
|
if (typeof result != 'undefined') return false
|
||||||
})
|
})
|
||||||
|
|
||||||
return result ? result : this
|
return result ? result : this
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue