WordPress.org

Plugin Directory

Changeset 337700


Ignore:
Timestamp:
01/27/11 05:15:18 (3 years ago)
Author:
JustinSainton
Message:

Fixed parent issue again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-e-commerce/branches/3.8-development/wpsc-admin/js/admin.js

    r337686 r337700  
    366366 
    367367    //As far as I can tell, WP provides no good way of unsetting elements in the bulk edit area...tricky jQuery action will do for now....not ideal whatsoever, nor eternally stable. 
    368     //@todo If this is the best way to do this, we should really use wp_localize_script to localize the strings. 
    369      
    370     //jQuery('fieldset.inline-edit-col-left .inline-edit-date').css('display','none'); 
    371     //jQuery('fieldset.inline-edit-col-center span.title:eq(1), ul.cat-checklist:eq(1)').css('display','none'); 
    372     jQuery("label:contains('Date')").css('display', 'none'); 
    373     jQuery(".inline-edit-group:contains('Password')").css('display', 'none'); 
    374     jQuery('fieldset.inline-edit-col-left.wpsc-cols').css({'float': 'right', 'clear' : 'right'}); 
    375     //jQuery("label:contains('Parent')").css('display', 'none'); 
    376     jQuery("label:contains('Status')").css('display', 'none'); 
    377      
     368     if( pagenow == 'edit-wpsc-product' ) { 
     369        //jQuery('fieldset.inline-edit-col-left .inline-edit-date').css('display','none'); 
     370        //jQuery('fieldset.inline-edit-col-center span.title:eq(1), ul.cat-checklist:eq(1)').css('display','none'); 
     371        jQuery("label:contains('Date')").css('display', 'none'); 
     372        jQuery(".inline-edit-group:contains('Password')").css('display', 'none'); 
     373        jQuery('fieldset.inline-edit-col-left.wpsc-cols').css({'float': 'right', 'clear' : 'right'}); 
     374        jQuery("label:contains('Parent')").css('display', 'none'); 
     375        jQuery("label:contains('Status')").css('display', 'none'); 
     376    } 
    378377        if( wpsc_adminL10n.dragndrop_set == "true" && typenow == "wpsc-product" ) { 
    379378            // this makes the product list table sortable 
Note: See TracChangeset for help on using the changeset viewer.