Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../drupal10
File: install.js
//////////////////////////////////////////////////////////////
[0] Fix | Delete
// install.js
[1] Fix | Delete
// Checks the installation form of the software being
[2] Fix | Delete
// installed by SOFTACULOUS
[3] Fix | Delete
// NOTE: 1) Only formcheck() function will be called.
[4] Fix | Delete
// 2) A software Vendor can use the same name for every
[5] Fix | Delete
// field to be checked as in install.xml . It can be
[6] Fix | Delete
// called using $('fieldname').value or any property
[7] Fix | Delete
// 3) Must Return true or false
[8] Fix | Delete
// ----------------------------------------------------------
[9] Fix | Delete
// Please Read the Terms of use at http://www.softaculous.com
[10] Fix | Delete
// ----------------------------------------------------------
[11] Fix | Delete
// (c)Softaculous Inc.
[12] Fix | Delete
//////////////////////////////////////////////////////////////
[13] Fix | Delete
[14] Fix | Delete
function formcheck(){
[15] Fix | Delete
[16] Fix | Delete
//Check the Admin Email
[17] Fix | Delete
if(window.check_punycode){
[18] Fix | Delete
if(!check_punycode($('admin_email').value)){
[19] Fix | Delete
alert('{{err_ademail}}');
[20] Fix | Delete
return false;
[21] Fix | Delete
}
[22] Fix | Delete
return true;
[23] Fix | Delete
}
[24] Fix | Delete
[25] Fix | Delete
return true;
[26] Fix | Delete
};
[27] Fix | Delete
[28] Fix | Delete
[29] Fix | Delete
// Update the in dir
[30] Fix | Delete
function update_drupal10_indir(){
[31] Fix | Delete
[32] Fix | Delete
if(drupal10_retries >= 5){
[33] Fix | Delete
return;
[34] Fix | Delete
}
[35] Fix | Delete
[36] Fix | Delete
if(typeof jQuery('#softdirectory').val() == "undefined"){
[37] Fix | Delete
drupal10_retries++;
[38] Fix | Delete
setTimeout('update_drupal10_indir();', 500);
[39] Fix | Delete
return;
[40] Fix | Delete
}
[41] Fix | Delete
[42] Fix | Delete
var softdirectory = jQuery('#softdirectory').val();
[43] Fix | Delete
[44] Fix | Delete
if(softdirectory == 'drupal10'){
[45] Fix | Delete
jQuery('#softdirectory').val('drupal');
[46] Fix | Delete
}
[47] Fix | Delete
}
[48] Fix | Delete
[49] Fix | Delete
var drupal10_retries = 0;
[50] Fix | Delete
update_drupal10_indir();
[51] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function