Viewing 1 replies (of 1 total)
  • Thread Starter Kestutis

    (@nelygus)

    I found the issue. It was on classes\Output.php the way scripts was loaded. On slower internet scripts, that was dependent on others was loaded after them. So there was some methods not implemented.

    My code instead of what was there:

    if('function' != typeof fel.treeview) {
            var d1 = jQuery.Deferred();
            var d2 = jQuery.Deferred();
            var d3 = jQuery.Deferred();
            jQuery.when(d3).done(function() {
                wpfb_initfb<?php echo $jss ?>();
            });
    
            d1.done(function() {
                jQuery.getScript('<?php echo esc_js($wp_scripts->registered['jquery-treeview-edit']->src); ?>').done(function() {
                    d2.resolve();
                });
            });
            d2.done(function() {
                jQuery.getScript('<?php echo esc_js($wp_scripts->registered['jquery-treeview-async']->src); ?>').done(function() {
                    d3.resolve();
                });
            });
    
             jQuery.getScript('<?php echo esc_js($wp_scripts->registered['jquery-treeview']->src); ?>').done(function() {
                 d1.resolve();
             });
    	} else {	wpfb_initfb<?php echo $jss ?>();	}

    I hope it will help for someone else though Filebase Pro support was not helping at all(they didn’t replied to any message I was writing to them..)

Viewing 1 replies (of 1 total)
  • The topic ‘Tree list not loaded on mobile’ is closed to new replies.