|
@@ -202,13 +202,14 @@ $(document).ready(function() {
|
|
|
|
|
|
});
|
|
|
|
|
|
+ $("#create-modal").on("shown.bs.modal", function(event) {
|
|
|
+ $("#create-input").focus();
|
|
|
+ $("#create-input").select();
|
|
|
+ })
|
|
|
+
|
|
|
$("#create-folder").click(function(event) {
|
|
|
$("#create-input").val("Untitled folder");
|
|
|
$("#create-modal").modal("show");
|
|
|
- $("#create-modal").on("shown.bs.modal", function(event) {
|
|
|
- $("#create-input").focus();
|
|
|
- $("#create-input").select();
|
|
|
- })
|
|
|
});
|
|
|
|
|
|
$("#create-confirm").click(function(event) {
|