* zin: skip to set url on disabled buttons.
This commit is contained in:
@@ -33,7 +33,7 @@ class btn extends wg
|
||||
|
||||
protected function getProps()
|
||||
{
|
||||
$url = $this->prop('url');
|
||||
$url = $this->prop('disabled') ? $this->prop('url') : null;
|
||||
$target = $this->prop('target');
|
||||
$props = array_merge($this->getRestProps(), array('title' => $this->prop('hint')));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user