403Webshell
Server IP : 14.225.204.176  /  Your IP : 216.73.216.6
Web Server : nginx/1.24.0
System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64
User : root ( 0)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/php/wit-crm/modules/loyalty/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/php/wit-crm/modules/loyalty/assets/js/create_card.js
(function($) {
"use strict";
    $("#wizard-picture").change(function(){
        readURL(this);
    });

    var attr = $('#custom_field').attr('checked');
    if (typeof attr !== typeof undefined && attr !== false) {
        $('#custom_field_content_div').removeClass('hide');
    }else{
        $('#custom_field_content_div').addClass('hide');
    }

})(jQuery);

/**
 * { custom field change }
 *
 * @param  invoker  The invoker
 */
function custom_field_change(invoker){
    "use strict";
    if(invoker.checked){
        $('#custom_field_content_div').removeClass('hide');
    }else{
        $('#custom_field_content_div').addClass('hide');
    }
}

/**
 * Reads an url.
 *
 * @param        input   The input
 */
function readURL(input) {
  "use strict";
    if (input.files && input.files[0]) {
        var reader = new FileReader();

        reader.onload = function (e) {
            $('#wizardPicturePreview').attr('src', e.target.result).fadeIn('slow');
        }
        reader.readAsDataURL(input.files[0]);
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit