| Server IP : 54.36.91.62 / Your IP : 216.73.217.94 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/www/cj79373/administrator/components/com_kunena/template/j3/categories/ |
Upload File : |
jQuery(document).ready(function ($) {
var input_alias = $("#jform_aliases");
var box = $("#aliascheck");
var info = $("#aliasinfo");
var apply = $(".button-apply");
var save = $(".button-save");
var savenew = $(".button-save-new");
var savecopy = $(".button-save-copy");
input_alias.on('input', function () {
$.ajax({
dataType: "json",
url: "index.php?option=com_kunena&view=categories&format=raw&layout=chkAliases&alias=" + input_alias.val()
}).done(function (response) {
if (!response.msg) {
input_alias.addClass("inputbox invalid-border");
if (box.length) {
apply.prop('disabled', true);
save.prop('disabled', true);
savenew.prop('disabled', true);
savecopy.prop('disabled', true);
}
box.removeClass("valid icon-ok");
box.addClass("invalid icon icon-remove");
box.html(Joomla.JText._('COM_KUNENA_CATEGORIES_ERROR_CHOOSE_ANOTHER_ALIAS'));
}
else {
input_alias.addClass("inputbox");
input_alias.removeClass("invalid-border");
if (box.length) {
apply.prop('disabled', false);
save.prop('disabled', false);
savenew.prop('disabled', false);
savecopy.prop('disabled', false);
}
if (box.length) {
info.addClass("valid icon icon-ok");
info.html("");
}
}
});
});
});