Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/cartforge.co/app/code/Xtento/StockImport/view/adminhtml/web/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/corals/cartforge.co/app/code/Xtento/StockImport/view/adminhtml/web/js/profile.js
window.xtSaveHiddenData = function(mapperId, rowId, field, value, empty) {
    if (typeof ace !== 'undefined') {
        value = editor.getSession().getValue();
    }
    if (empty) {
        value = "";
    }
    inputName = mapperId + '[' + rowId + '][' + field + ']';
    if ($(inputName)) {
        $(inputName).value = value;
    } else {
        $(mapperId + '_additional_config').insert({'after': '<input type="hidden" id="' + inputName + '" name="' + inputName + '" value="' + quoteAttribute(value) + '"/>'});
    }
    Windows.closeAll();
};

function quoteAttribute(s, preserveCR) {
    preserveCR = preserveCR ? '&#13;' : '\n';
    return ('' + s)/* Forces the conversion to string. */
        .replace(/&/g, '&amp;')/* This MUST be the 1st replacement. */
        .replace(/'/g, '&apos;')/* The 4 other predefined entities, required. */
        .replace(/"/g, '&quot;')
        .replace(/</g, '&lt;')
        .replace(/>/g, '&gt;')
        /*
         You may add other replacements here for HTML only
         (but it's not necessary).
         Or for XML, only if the named entities are defined in its DTD.
         */
        .replace(/\r\n/g, preserveCR)/* Must be before the next replacement. */
        .replace(/[\r\n]/g, preserveCR);
}

Spamworldpro Mini