pieforms-commit Mailing List for Pieforms
Status: Alpha
Brought to you by:
oracleshinoda
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(73) |
Dec
(83) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(16) |
Feb
(19) |
Mar
(12) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(14) |
Sep
(2) |
Oct
(1) |
Nov
(2) |
Dec
(45) |
2008 |
Jan
(20) |
Feb
(3) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(1) |
2009 |
Jan
(2) |
Feb
(2) |
Mar
|
Apr
(2) |
May
(1) |
Jun
(5) |
Jul
(1) |
Aug
(2) |
Sep
(1) |
Oct
|
Nov
(7) |
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
(1) |
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
(1) |
27
|
28
|
29
|
30
|
|
|
|
|
|
|
From: <ora...@us...> - 2007-09-26 06:03:02
|
Revision: 220 http://pieforms.svn.sourceforge.net/pieforms/?rev=220&view=rev Author: oracleshinoda Date: 2007-09-25 23:03:04 -0700 (Tue, 25 Sep 2007) Log Message: ----------- Only output the button setting javascript if the form tags are being output, because it's the only time we can guarantee the dom node with the correct ID will be on the page Modified Paths: -------------- pieforms-php5/trunk/src/pieform.php Modified: pieforms-php5/trunk/src/pieform.php =================================================================== --- pieforms-php5/trunk/src/pieform.php 2007-09-17 12:23:56 UTC (rev 219) +++ pieforms-php5/trunk/src/pieform.php 2007-09-26 06:03:04 UTC (rev 220) @@ -695,12 +695,14 @@ if ($this->data['jsform'] || $this->data['presubmitcallback']) { $result .= '<script type="text/javascript">'; - $result .= "\n" . $this->whichbutton_js(); + if ($outputformtags) { + $result .= "\n" . $this->whichbutton_js(); + } } if ($this->data['jsform']) { $result .= $this->submit_js(); } - else if ($this->data['presubmitcallback']) { + else if ($this->data['presubmitcallback'] && $outputformtags) { $result .= 'connect(\'' . $this->name . '\', \'onsubmit\', ' . 'function() { ' . $this->data['presubmitcallback'] . "('{$this->name}', {$this->name}_btn); });"; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |