app/views/adminpanel/categories/new.js.erb in adminpanel-2.4.0 vs app/views/adminpanel/categories/new.js.erb in adminpanel-2.4.1
- old
+ new
@@ -1,2 +1,5 @@
$("#modal-title").html('Agregar <%= @model.display_name %>');
$("#modal-container").html('<%= escape_javascript(render "category_form", :resource => @resource_instance) %>');
+setTimeout(function() {
+ $("#remote-form-modal input[type='text']:first").focus();
+}, 500);