Sindbad~EG File Manager

Current Path : /home/j/u/l/julesbu/www/wp-content/plugins/wordpress-starter/assets/js/
Upload File :
Current File : /home/j/u/l/julesbu/www/wp-content/plugins/wordpress-starter/assets/js/admin.js

/*global ajaxurl*/
;(function( $ ) {
    $(document).ready(function() {
        // Switch to default dashboard.
        $('.switch-dashboard').on('click', function(e) {
            e.preventDefault();

            var adminUrl = $(this).data('admin-url');

            $.ajax(
                $(this).attr('href')
            )
                .success(function () {
                    window.location.href = adminUrl;
                })

        })

        // Switch to default dashboard.
        $('.sg-restart-wizard').on('click', function(e) {
            e.preventDefault();

            var adminUrl = $(this).data('admin-url');

            $.ajax(
                $(this).attr('href')
            )
                .success(function () {
                    window.location.href = adminUrl;
                })
        })
    })
})( jQuery )

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists