BUG 8080 "when we do right click on an step there is a javasc..." SOLVED

- The main problem was on the onclick user functions were being setting up on paged tables headers, (with gulliver vars like @QSTEP_UID, etc) that were not replacing properly beuase are headers and not normal rows!!, that was wrong and causing the famous problem of "Conditional Compilation Error" on IE
- Finally this problem is solved leaving the onclick events for those hheaders only with doSort() at propeltable function.
This commit is contained in:
Erik Amaru Ortiz
2012-03-23 19:21:38 -04:00
parent e4c9e88f57
commit 297f57fe3e

View File

@@ -318,8 +318,12 @@ class propelTable
$this->tpl->assign( "href" , $this->style[$r]['href']);
if (isset($this->style[$r]['onsort']))
$this->tpl->assign( "onsort" , htmlentities( $this->style[$r]['onsort'] , ENT_QUOTES, 'UTF-8' ) );
/* BUG 8080 - erik: don't setup onclick on page table header, doesn't have sense and causing problems
if (isset($this->style[$r]['onclick']))
$this->tpl->assign( "onclick" , htmlentities( $this->style[$r]['onclick'] , ENT_QUOTES, 'UTF-8' ) );
*/
if (isset($this->style[$r]['colWidth']))
$this->tpl->assign( "width" , $this->style[$r]['colWidth'] );
if (isset($this->style[$r]['colWidth']))