Summary | js error |
Queue | Turba |
Queue Version | 2.0 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | Horde Developers (at) |
Requester | m.zdila (at) episoftware (dot) com |
Created | 02/07/2005 (7459 days ago) |
Due | |
Updated | 02/09/2005 (7457 days ago) |
Assigned | 02/07/2005 (7459 days ago) |
Resolved | 02/09/2005 (7457 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
State ⇒ Assigned
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ js error
Queue ⇒ Turba
$prefs->getValue('sortdir') returns for me empty string, therefore it
generates invalid javascript code. Tere is a patch:
13c13
< <a class="widget" href="" onclick="Sort(0, <?php echo
$prefs->getValue('sortdir') ?>); return false;"><?php echo
$attributes['name']['label'] ?></a>
---
intval($prefs->getValue('sortdir')) ?>); return false;"><?php echo
$attributes['name']['label'] ?></a>
< <a class="widget" href="" onclick="Sort(<?php echo $i ?>,
<?php echo $prefs->getValue('sortdir') ?>); return false;"><?php echo
$attributes[$columns[$i-1]]['label'] ?></a>
---
<?php echo intval($prefs->getValue('sortdir')) ?>); return
false;"><?php echo $attributes[$columns[$i-1]]['label'] ?></a>