|
@@ -85,7 +85,7 @@ class VmsDataTable extends DataTable implements ClientArea, AdminArea
|
|
|
//console
|
|
//console
|
|
|
$this->addActionButton(new ConsoleButton());
|
|
$this->addActionButton(new ConsoleButton());
|
|
|
$consoleUrl = "test";
|
|
$consoleUrl = "test";
|
|
|
-// $this->actionButtons['consoleButton']->htmlAttributes['@click'] = 'redirect($event, ' . $consoleUrl . ')';
|
|
|
|
|
|
|
+ $this->actionButtons['consoleButton']->updateHtmlAttribute('onclick', $consoleUrl);
|
|
|
}
|
|
}
|
|
|
if(!$isAdmin){
|
|
if(!$isAdmin){
|
|
|
//edit
|
|
//edit
|