Plugin Directory

Changeset 3355530


Ignore:
Timestamp:
09/03/2025 03:24:32 PM (7 months ago)
Author:
scaleflex
Message:

Revert back to the previous widget version

Location:
scaleflex-vxp-dam-dmo
Files:
59 added
4 edited

Legend:

Unmodified
Added
Removed
  • scaleflex-vxp-dam-dmo/trunk/README.txt

    r3351972 r3355530  
    55Tested up to: 6.8
    66Requires at least: 4.8
    7 Stable tag: 1.0.19
     7Stable tag: 1.0.20
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    230230* Update documentation
    231231
     232= 1.0.20 =
     233* Revert back to the previous widget version
     234
    232235== Upgrade Notice ==
    233236
  • scaleflex-vxp-dam-dmo/trunk/assets/js/dam-widget/sfxvxp-widget-page.js

    r3351054 r3355530  
    2727
    2828                var exportButtonText = sfxvxp_admin_meta.insert_btn;
    29                 if (ScaleflexWidget === undefined) {
    30                     let ScaleflexWidget = window.ScaleflexWidget ;
     29                if (Filerobot === undefined) {
     30                    let Filerobot = window.Filerobot ;
    3131                }
    3232
     
    3636                let scaleflexWidget = null;
    3737
    38                 scaleflexWidget = ScaleflexWidget.Core({
     38                scaleflexWidget = Filerobot.Core({
    3939                    securityTemplateID : demoSecurityTemplateID,
    4040                    container          : demoContainer,
     
    4242
    4343                // Plugins
    44                 const Explorer  = ScaleflexWidget.Explorer;
    45                 const XHRUpload = ScaleflexWidget.XHRUpload;
    46                 const ProgressPanel = ScaleflexWidget.ProgressPanel
     44                const Explorer  = Filerobot.Explorer;
     45                const XHRUpload = Filerobot.XHRUpload;
     46                const ProgressPanel = Filerobot.ProgressPanel
    4747
    4848                let queryString = window.location.search;
     
    102102
    103103                let height = 1000;
    104                 if (jQuery('body .media-modal-content .media-frame-content').length > 0) {
     104                if (jQuery('body .media-modal-content .media-frame-content:visible').length > 0) {
    105105                    height = jQuery('body .media-modal-content .media-frame-content').height();
    106106                }
     107
     108                if (height === 0) height = 1000;
    107109
    108110                let widgetConfig = {
     
    129131                        }
    130132                    },
    131                     ExploreViewComponent: ScaleflexWidget.Explorer.ExploreViewComponent
     133                    // ExploreViewComponent: ScaleflexWidget.Explorer.ExploreViewComponent
    132134                }
    133135
  • scaleflex-vxp-dam-dmo/trunk/function/register-action.php

    r3351054 r3355530  
    474474        // Add Styles
    475475        wp_enqueue_style('sfxvxp-core-css', SFXVXP_PLUGIN_URL . 'assets/css/dam-widget/core.css', [], SFXVXP_VERSION);
    476         wp_enqueue_style('sfxvxp-lib-css', SFXVXP_PLUGIN_URL . 'assets/css/dam-widget/scaleflex-widget.min.css', [], SFXVXP_VERSION);
     476        wp_enqueue_style('sfxvxp-lib-css', SFXVXP_PLUGIN_URL . 'assets/css/dam-widget/filerobot-widget.min.css', [], SFXVXP_VERSION);
    477477        wp_enqueue_style('sfxvxp-flexboxgrid', SFXVXP_PLUGIN_URL . 'assets/css/dam-widget/flexboxgrid.min.css', [], SFXVXP_VERSION);
    478478        wp_enqueue_style('sfxvxp-acf-fmaw', SFXVXP_PLUGIN_URL . 'assets/css/dam-widget/acf-fmaw.css', [], SFXVXP_VERSION);
     
    487487        );
    488488
    489         wp_register_script('sfxvxp_fmaw', SFXVXP_PLUGIN_URL . 'assets/js/dam-widget/scaleflex-widget.min.js', ['jquery'], SFXVXP_VERSION, true);
     489        wp_register_script('sfxvxp_fmaw', SFXVXP_PLUGIN_URL . 'assets/js/dam-widget/filerobot-widget.min.js', ['jquery'], SFXVXP_VERSION, true);
    490490        wp_register_script('sfxvxp_media_tab', SFXVXP_PLUGIN_URL . 'assets/js/dam-widget/fmaw.js', ['sfxvxp_fmaw'], SFXVXP_VERSION, true);
    491491//        $response = $this->test_connection($this->dam_token, $this->dam_sec, $this->dame_directory);
  • scaleflex-vxp-dam-dmo/trunk/scaleflex-vxp.php

    r3351972 r3355530  
    33 * Plugin Name: Scaleflex VXP - DAM, DMO
    44 * Description: Scaleflex VXP centralizes, manages, optimizes and accelerates your media assets such as images, videos and document in one single source of truth, improving team collaboration and brand consistency.
    5  * Version: 1.0.19
     5 * Version: 1.0.20
    66 * Author: Scaleflex
    77 * Author URI: https://www.scaleflex.com
     
    1818
    1919// Define plugin constants
    20 define('SFXVXP_VERSION', '1.0.19');
     20define('SFXVXP_VERSION', '1.0.20');
    2121define('SFXVXP_PLUGIN_DIR', plugin_dir_path(__FILE__));
    2222define('SFXVXP_PLUGIN_URL', plugin_dir_url(__FILE__));
Note: See TracChangeset for help on using the changeset viewer.