WordPress.org

Plugin Directory

Changeset 1299848


Ignore:
Timestamp:
12/03/15 16:55:49 (18 months ago)
Author:
seuser
Message:

Remove wp color picker as we need support for rgba as well for transparency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wpec-targetpay-for-wp-e-commerce/trunk/classes/wpscTargetpay.class.php

    r1283158 r1299848  
    7474        //setup js 
    7575        wp_register_script( 'magnificPopupJs', plugins_url( '../assets/js/magnific-popup.min.js', __FILE__ ) ); 
    76          
    77         //enqueue wp core scripts for colour picker 
    78         add_action( 'admin_enqueue_scripts', array( $this, 'wpscTargetpayColorPicker' ) ); 
    7976 
    8077    } 
     
    632629    } 
    633630 
    634     /** 
    635      * Enqueue colour picker scripts. 
    636      */ 
    637     public function wpscTargetpayColorPicker() { 
    638  
    639         if ( is_admin() ) { 
    640             wp_enqueue_style( 'wp-color-picker' );  
    641             wp_enqueue_script( 'wp-e-commerce-targetpay-color-picker', plugins_url( '../assets/js/color-picker.js', __FILE__ ), array( 'wp-color-picker' ), false, true );  
    642         } 
    643          
    644     } 
    645  
    646631} 
Note: See TracChangeset for help on using the changeset viewer.