Implement prototype for project selection

This commit is contained in:
Eike Foken
2011-08-10 13:57:17 +02:00
parent d7999735ce
commit 667b5d0709
3 changed files with 19 additions and 1 deletions

View File

@@ -75,6 +75,12 @@ li { margin-left: 20px;}
text-decoration: none;
}
#header .status {
float: left;
line-height: 45px;
padding: 12px 20px;
}
#header .menu {
float: right;
line-height: 45px;

View File

@@ -173,4 +173,11 @@ $(document).ready(function() {
}).mouseout(function() {
$(this).removeClass('editable');
});
$('select[name="activeProject"]').bind('change', function () {
var url = $(this).val();
if (url) {
window.location = url;
}
});
});