Closed (fixed)
Project:
Panels
Version:
6.x-3.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2010 at 21:55 UTC
Updated:
11 Feb 2010 at 08:52 UTC
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
Comment #1
merlinofchaos commentedMy guess is that Firefox doesn't do anything if a button doesn't have a form. Doesn't seem particularly Panels related.
Comment #2
Apfel007 commentedthanks