-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 14
-
Component/s: Sound Languages
-
Labels:None
-
Bug Tracker:Developer Testing
-
Distro Version:14.0.1.1
-
Distro:Self Install Debian
Hello!
After install and login as admin i see window "Please Select the default locales of the PBX". I can not save this page((( In console i see error:
config.php:625 Uncaught TypeError: $.cookie is not a function
In code it is:
$("#submitOobe").click(function(e) {
if($("#oobeGuiLang").val() === "") {
return warnInvalid($("#oobeGuiLang"),_("Please select a valid language"));
}
if($("#oobeTimezone").val() === "") {
return warnInvalid($("#oobeTimezone"),_("Please select a valid timezone"));
}
if($("#oobeSoundLang").val() === "") {
return warnInvalid($("#oobeSoundLang"),_("Please select a valid language"));
}
$.cookie("lang",$("#oobeGuiLang").val());
$(this).prop("disabled",true);
$(this).text(_("Processing. This may take some time. Please be patient"));
e.preventDefault();
e.stopPropagation();
$("#localeForm").submit();
});
While i am fixed is manually in file /var/www/html/admin/modules/soundlang/views/oobe.php :
addÂ
and replace from "$.cookie("lang",$("#oobeGuiLang").val());" to "Cookies.set("lang",$("#oobeGuiLang").val());"