From: <jon...@us...> - 2011-02-28 16:06:44
|
Revision: 33148 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=33148&view=rev Author: jonnybradley Date: 2011-02-28 16:06:38 +0000 (Mon, 28 Feb 2011) Log Message: ----------- [FIX] trackerfilter: Fix prevnext onclick events as the plugin structure had changed (the form is no longer inside the results div) Modified Paths: -------------- trunk/lib/wiki-plugins/wikiplugin_trackerfilter.php Modified: trunk/lib/wiki-plugins/wikiplugin_trackerfilter.php =================================================================== --- trunk/lib/wiki-plugins/wikiplugin_trackerfilter.php 2011-02-28 05:41:37 UTC (rev 33147) +++ trunk/lib/wiki-plugins/wikiplugin_trackerfilter.php 2011-02-28 16:06:38 UTC (rev 33148) @@ -304,9 +304,9 @@ if( $first ) { $first = false; global $headerlib; - $headerlib->add_js('$(".trackerfilter-result .prevnext").click( function( e ) { + $headerlib->add_jq_onready('$(".prevnext", "#trackerFilter' . $iTrackerFilter . ' + .trackerfilter-result").click( function( e ) { e.preventDefault(); - $(".trackerfilter-result form") + $("#trackerFilter' . $iTrackerFilter . ' form") .attr("action", $(this).attr("href")) .submit(); } );' ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |