Hi, I add php- content with this code. The button works in Safari, but not in FireFox!!

...
<?php
if (module_exists('og')){
  if(arg(0) == 'node' && is_numeric(arg(1))){
    $gid = arg(1);
    $path = '/node/add/blog-diary/?gids[]=' .$gid;
  }
}
?>
<button value="submit" class="submitBtn"><span><a title="Tagebucheintrag erstellen" 
href="<?php print $path; ?>">BLOG schreiben</a></span></button>

Comments

merlinofchaos’s picture

Category: bug » support
Status: Active » Closed (won't fix)

My guess is that Firefox doesn't do anything if a button doesn't have a form. Doesn't seem particularly Panels related.

Apfel007’s picture

Status: Closed (won't fix) » Closed (fixed)

thanks