Skip to content

Commit

Permalink
select new tab upon creating it
Browse files Browse the repository at this point in the history
  • Loading branch information
RedWolves committed Nov 24, 2010
1 parent 4cd81da commit 813b00d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
buttons : {
"Add new project" : function() {
var foo = new Date();
$("#tabs").tabs("add", "#project-" + foo.getTime(), $("#project").val());
$("#tabs").tabs("add", "#project-" + foo.getTime(), $("#project").val())
.tabs("select", $("#tabs ul li a").length - 1);
$(this).dialog("close");
BindToDoList();
$("#project").val("");
Expand Down

0 comments on commit 813b00d

Please sign in to comment.