Changeset - 7c7cf7ef7bf7
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 15 years ago 2011-03-21 22:06:06
ohnobinki@ohnopublishing.net
Fix displaying registration codes for tabs on pages other than the first one (which happens when pagination occurs).
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
scripts/displayTables.js
Show inline comments
 
@@ -49,7 +49,9 @@ jQuery(document).ready( function()
 
      jQuery("#regDialog").dialog({ modal: true, width: 550, resizable: false, draggable: false, autoOpen: false });   
 
      jQuery('#regCodes').click( function() {
 
        jQuery('#regDialogList').empty();
 
        var currSec = '.syns' + jQuery('#tabs').tabs('option','selected');
 
	var tab_i = jQuery('#tabs').tabs('option','selected');
 
	var tab_fragment_i = /-([^-]+)$/.exec(jQuery('#the-tabs li:eq(' + tab_i + ') a').attr('href'))[1];
 
        var currSec = '.syns' + tab_fragment_i;
 

	
 
        var jHtml = jQuery(currSec).html();
 
        var secs = eval('(' + jHtml + ')');
0 comments (0 inline, 0 general)