removed auto friendly url generator
This commit is contained in:
parent
59346bcc12
commit
a4edabcac5
|
@ -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
|
// Datepicker
|
||||||
$("#jsdate").datetimepicker({format:DB_DATE_FORMAT});
|
$("#jsdate").datetimepicker({format:DB_DATE_FORMAT});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue