add focus input first all backend form
This commit is contained in:
@@ -63,9 +63,6 @@ $(document).ready(function() {
|
|||||||
date: false
|
date: false
|
||||||
});
|
});
|
||||||
|
|
||||||
// first input focus for all form
|
|
||||||
$("body").has("form").find("input:first").focus();
|
|
||||||
|
|
||||||
// Image Upload
|
// Image Upload
|
||||||
$("#simple_menu_item_image_path").fileinput({
|
$("#simple_menu_item_image_path").fileinput({
|
||||||
previewFileType: "image",
|
previewFileType: "image",
|
||||||
@@ -107,6 +104,7 @@ $(document).ready(function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// first input focus for all form
|
||||||
$('form:first *:input[type!=hidden]:first').focus();
|
$('form:first *:input[type!=hidden]:first').focus();
|
||||||
|
|
||||||
// $(document).on("focus", "[data-behaviour~='datepicker']", function(e){
|
// $(document).on("focus", "[data-behaviour~='datepicker']", function(e){
|
||||||
|
|||||||
Reference in New Issue
Block a user