The Unified and Autonomous Development Platform
Focus on name input when create a new file
robin shine566f36e61b00
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/depotfile/filenavigator/FileNavigator.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/depotfile/filenavigator/FileNavigator.javaindex 8a72da2f33..0f4a57ad55 100644--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/depotfile/filenavigator/FileNavigator.java+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/depotfile/filenavigator/FileNavigator.java@@ -304,6 +304,8 @@ public abstract class FileNavigator extends Panel {}});+ if (name.length() == 0)+ nameInput.add(AttributeAppender.append("class", "focusable"));lastSegment.add(AttributeAppender.append("class", "input"));} else if (file.isFile()) {lastSegment = new Fragment(LAST_SEGMENT_ID, "blobNameFrag", this);