Plugin Directory

Changeset 230892


Ignore:
Timestamp:
04/20/2010 06:31:11 AM (15 years ago)
Author:
mgolawala
Message:

Current page in JS code was being set *after* call to managePagination. This was causing category changes to break things

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-category-manager/trunk/wp-category-manager.js

    r230889 r230892  
    5858                                'Total Posts: ' + jQuery('#wpcmpostcount').text()
    5959                            );
     60                        curPage=0; // This needs to occur before the call to manage Pagination
    6061                        totalPosts = parseInt(jQuery('#wpcmpostcount').text());
    6162                        managePagination();
    62                         curPage=0;
     63                       
    6364                        });
    6465            });
Note: See TracChangeset for help on using the changeset viewer.