removed auto friendly url generator

This commit is contained in:
Diego Najar 2018-11-05 23:59:28 -03:00
parent 59346bcc12
commit a4edabcac5
1 changed files with 0 additions and 13 deletions

View File

@ -258,19 +258,6 @@ echo Bootstrap::formOpen(array(
}
});
// Generate slug when the user type the title and the slug field is empty
var currentSlug = $("#jsslug").val();
$("#jstitle").keyup(function() {
var text = $(this).val();
var parent = $("#jsparent").val();
var currentKey = "";
var ajax = new bluditAjax();
var callBack = $("#jsslug");
if (currentSlug.length === 0) {
ajax.generateSlug(text, parent, currentKey, callBack);
}
});
// Datepicker
$("#jsdate").datetimepicker({format:DB_DATE_FORMAT});