458aa0ae79276df6e1ebbf75764a1824bb4b0a64 braney Thu Feb 8 10:29:56 2018 -0800 change default name and description for new collections diff --git src/hg/js/hgCollection.js src/hg/js/hgCollection.js index 02d877a..6edd4ad 100644 --- src/hg/js/hgCollection.js +++ src/hg/js/hgCollection.js @@ -149,32 +149,32 @@ function checkCallback( operation, node, node_parent, node_position, more) { // called during a drag and drop action to see if the target is droppable if ((operation === "copy_node") || (operation === "move_node")) { if (node_parent.parent === '#') return true; return false; } return true; } function dialogCollection() { $("#doNewCollection").off ( "click" ); $("#doNewCollection").click ( newCollection ); $("#viewFuncDiv").show(); - $("#customName").val("A New Collection"); - $("#customDescription").val("A New Collection Description"); + $("#customName").val("New Collection"); + $("#customDescription").val("New Collection description"); $("#customVis").val("full"); $("#customColorInput").val("#0"); $("#viewFunc").val("show all"); $( "#customName" ).select(); $('#collectionDialogHelp').show(); $('#trackDialogHelp').hide(); $( "#newCollectionDialog" ).dialog( 'option', 'title', 'Create New Collection'); $( "#newCollectionDialog" ).dialog("open"); } function newCollection() { var newName = $("#customName").val().trim(); if (!validateLabel(newName)) return;