Bug #8369
<script> without attribute
| Status: | New | Start date: | 2010-06-20 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 0 |
Description
pi1/class.tx_newscalendar_pi1.php line 419:
$contextScript .= "\t" ."<script>" . "\n";
should be changed to
$contextScript .= "\t" ."<script type=\"text/javascript\">" . "\n";
for the sake of valid HTML-Code.
otherwise i get this output:
<!-- Newscalendar: Activate tooltip -->
<script>
jQuery( document ).ready( function() {
newscalendar.tipSetup(300, '#EEEEEE', '#CCCCCC', 4, 10, 10, 20, 20, true, 12, 0, 5, [ 'top', 'right', 'bottom', 'left' ], 200);
newscalendar.processToolTip( 3 )
newscalendar.processToolTip( 4 )
newscalendar.processToolTip( 6 )
newscalendar.processToolTip( 7 )
newscalendar.processToolTip( 8 )
newscalendar.processToolTip( 9 )
newscalendar.processToolTip( 10 )
newscalendar.processToolTip( 11 )
newscalendar.processToolTip( 21 )
newscalendar.processToolTip( 22 )
newscalendar.processToolTip( 23 )
newscalendar.processToolTip( 24 )
newscalendar.processToolTip( 25 )
newscalendar.processToolTip( 28 )
newscalendar.processToolTip( 29 )
newscalendar.processToolTip( 30 )
});
</script>
Associated revisions
Fixed bug #8369: Add possibility to have media_type icons as PNGs as well (Thanks to Andreas Balzer)
History
Updated by Benjamin Mack over 2 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r12154.