@@ -195,6 +195,8 @@ abstract class Action implements Renderable
*/
protected function html()
{
+ $this->defaultHtmlAttribute('href', 'javascript:void(0)');
+
return <<<HTML
<a {$this->formatHtmlAttributes()}>{$this->title()}</a>
HTML;
@@ -193,7 +193,7 @@ function (data) {
}
if (typeof response.data.message === 'string' && response.data.type) {
- LA[response.data.type](response.data.message);
+ Dcat[response.data.type](response.data.message);
if (response.data.then) {